-
April 2nd, 2004, 10:48 AM
#1
Tab in textbox
Hey Guys,
I can't figure this out. I'm using a textbox (multiline). When I press the tab the focus changes to the next control. I know I can get the keypress but I have to insert it into the text. How do I know where I am in the text? Is there something that says you are on the 15 character?
Thanks in advance,
Wayne
-
April 2nd, 2004, 11:34 AM
#2
I couldn't figure out how to stop the tab key jumping out of the current control, but you could use an alternative key to the tab key eg CTRL + T, and insert a CHR$(9) into your current location.
Although using a Rich Edit Textbox, I was able to trap the TAB key using a KeyDown event.
HTH
JP
Please remember to rate all postings.
-
April 2nd, 2004, 11:52 AM
#3
Thanks for your reply.
If richtext can capture the tab key then I will use it. Beats the other way I was going to do it.
Wayne
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
|