![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
You shouldn't use HardKey here.
First set the form's KeyPreview property to true (with the Door library). This is an example of navigating between two textboxes: oFrm is an Object. Code:
Sub Globals
current = 1
End Sub
Sub App_Start
Form1.Show
ofrm.New1(false)
ofrm.FromControl("Form1")
ofrm.SetProperty("KeyPreview",true)
End Sub
Sub Form1_KeyPress (specialKey)
If specialKey = cUpKey OR specialKey = cDownKey Then
current = 1 + (current Mod 2)
Control("TextBox" & current).Focus
End If
End Sub
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| D-Pad Navigation | Dave Mitchell | Questions & Help Needed | 4 | 05-02-2008 10:46 PM |
| Hex To Dec To Hex Sample | badkarma | Code Samples & Tips | 0 | 04-01-2008 05:26 PM |
| Forum Navigation | dennishea | Questions & Help Needed | 1 | 02-15-2008 06:52 PM |
| Desktop IDE: Sub tree navigation minimal bug | Woinowski | Bug Reports | 0 | 01-16-2008 07:20 AM |
| GPS map navigation and routing | zen | Questions & Help Needed | 11 | 10-08-2007 06:44 AM |