|
-
Nov 29th, 2000, 09:20 AM
#1
Thread Starter
New Member
Works fine with one control, but thats not what i want.
Is there any other way out where there are more controls.
-
Nov 29th, 2000, 09:28 AM
#2
Frenzied Member
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Dec 1st, 2000, 02:55 PM
#3
Addicted Member
Still not working for me
Jop --
Maybe I'm really missing something, but I still can't get Form_Keypress to fire when hitting a tab. I tried your code but it's not working.
Any suggestions?
Elizabeth
-
Dec 1st, 2000, 09:13 PM
#4
Frenzied Member
Did you set all the control's tabstop to false?
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Dec 2nd, 2000, 09:58 AM
#5
Addicted Member
Jop --
Bear with me, I'm just a beginner.
The form has at least 100 controls. I worry that if I take out the tab stops, won't I have to hard-code the tab order if I use the method you suggest? Or am I missing something?
Let me try just a bit to describe my situation a bit more.
I have a form with four frames in it (well, there are more, but four major ones). These have tabs associated with them, so the user can click on the tabs to access the four frames.
It's used for data entry, and also used for updating old entries.
I'd like the user to be able to tab through the first frame, and when on the last textbox, to be able to hit tab and be automatically sent to the next frame.
I thought I could do this by detecting a tab in the last textbox, and trigger appropriate code to send the user to the next frame. (and, also, if the user hits shift-tab in the first textbox, to send him back a frame).
I've tried keypress, keydown, and keyup, and can't get any of them to detect tab.
I'm working on a solution with invisible command buttons which, when they get the focus, automatically kick the user to the next frame. But a few problems starting cropping up with this approach; I'll be working on it more on Monday to see if I can make this approach work.
But if there's some way I can detect tab when the user is on the last textbox on the frame, well, that would be ideal.
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
|