|
-
Apr 26th, 2000, 12:53 AM
#1
ok.... do the following :
Add 2 or more textboxes to a new project
add 2 or more Labels to you're project, turn mnenonic to true
now set label1s caption to "just &Testing"
labels2s caption to "textbox &2"
....
paste the folowing code into Label1_Click :
private sub label1_click()
text1.setfocus
text1.selstart = 0
text1.sellength = len(text1)
end sub
.. this to label 2 .....
private sub label2_click()
text2.setfocus
text2.selstart = 0
text2.sellength = len(text2)
end sub
now run the project....
mhh.. if you now press ALT + T , the cursor should jump to TEXTBOX1 and select the complete text, if u press ALT+2, the same should happen on TEXTBOX2
on my (and on a lot of friends pc's) it simple dont work. the damn cursor jumps EVERYTIME i press ALT+2 to TEXTBOX1 and select nothing. *grr*
i'm using MS VB 5.0 + SP 3. if someone knows a solution or can point my little brain to the error.... mail me please.
taLON
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
|