|
-
Apr 14th, 2000, 11:15 PM
#1
Thread Starter
Addicted Member
Hello.. in the caption of the label you can put a & in front of a letter to underline it.. but if you press alt and that character it does not do anything, how do you make it jump to the textbox that is next to that label? or any control that is next to that label?
Thanks,
Thai
-
Apr 14th, 2000, 11:25 PM
#2
Just make sure that the control you want to give focus to, has a tabstop one bigger than the label.
This will make the control receive the focus when you press the alt-letter combination.
This will work for multiple labels and controls.
Imar
-
Apr 15th, 2000, 12:38 AM
#3
Addicted Member
I think that Imar is referring to the Tab Index. Set the Tab Index of the Label and then make sure that the Textbox you want to have get the focus has the next number for it's Tab Index.
Example:
To have a Textbox get the focus if you press the keys (ALT+N) for a label with a caption &Name...
If the Tab Index for the label is 3, set the Tab Index for the Textbox to 4.
-
Apr 15th, 2000, 12:51 AM
#4
I'm sorry, jcouture100 is right.
Apparently I didn't pay enough attention to what I was writing. Bit sleepy, I guess. 
It has to be the TabIndex.
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
|