|
-
Dec 6th, 1999, 10:04 PM
#1
Thread Starter
Hyperactive Member
I need tpo capture when the user hits the tab key. Basically, I have a grid on a tab. I need to capture when they click the Tab key. I'm not sure which control to put it in and which SUB to use. KEYPRESS, UP or DOWN. I've tried a couple but doesn't seem to work the way I want. I don't have access to help because the disk I got was fried and I'm waiting to get a new one.
-
Dec 6th, 1999, 10:26 PM
#2
Hyperactive Member
You said click and press ??
if you want to know when someone clicks on an object (be it tab or anything) put it in the click event.
Easy way is to put msgbox("I AM HERE") in the click event to see when you get here.
If you want to know when the tab is pressed this is a different matter. If you want to know that if tab is pressed your objects get selected this is called has focus so put something in the gotfocus event (or lostfocus if exited).
I hope this answers your question
if not mail me
[email protected]
-
Dec 6th, 1999, 10:32 PM
#3
Thread Starter
Hyperactive Member
It didn't really answer the question, which was to capture the TAB event but it gave me a better idea. I just dumped the code when the control loses focus and it worked. Thanks :-)
-
Dec 6th, 1999, 10:32 PM
#4
Hyperactive Member
Another thought. If you want to know when they have moved within a grid look at leavecell and entercell as well
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
|