|
-
August 8th, 2001, 11:22 AM
#1
backspace or going back
HI
i would like to know if there an easy way to move backwords with textboxes. When i press enter on a text box the focus move to the next one with the number higher than the previous one.
How do u go backwords?
Thank's a lot for your help!
Frank
-
August 8th, 2001, 12:32 PM
#2
Re: backspace or going back
You should move focus between textboxes (or any controls on the form) with a TAB key (assuming that you have TABINDEX property for those textboxes set correctly). Backwords with a SHIFT+TAB key. ENTER key should invoke a click event for a default button on the form. If you need a custom keystroke to move from one textbox to another you need to look at KEYPRESS or KEYDOWN or KEYUP event, catch interesting you keystroks, and SETFOCUS to next textbox in chain.
-
August 8th, 2001, 01:35 PM
#3
Re: backspace or going back
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
|