|
-
Jun 13th, 2003, 10:32 PM
#1
Thread Starter
Registered User
Move cursor from 1 textbox to another using ALT+key? [Resolved]
I have 3 textbox in a form like this:
&Name: textboxName
&Age: textboxAge
&Gender: textboxGender
Instead of using Tab, I want to use ALT + N, ALT + A, ALT + G to move the cursor from 1 textbox to another textbox.
how can I do this?
please guide, thank you.
Last edited by albertlse; Aug 21st, 2003 at 08:24 PM.
-
Jun 14th, 2003, 01:57 AM
#2
Lively Member
Change the tab order so that the label for each textbox is right before its respective textbox. For example, if txtName's TabIndex is 5, lblName's TabIndex should be 4. I'm sure you already know how to use a & in a Label's text so the correct letter is underlined. After changing the tab order, all you have to do is put the & signs in the right places in the labels, and when you press Alt+Whatever, the appropriate textbox will get focus, because the label can't.
-
Jun 15th, 2003, 01:35 AM
#3
Thread Starter
Registered User
It's working fine now. Thank you Tygur
Last edited by albertlse; Jun 15th, 2003 at 01:39 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|