|
-
Sep 20th, 2001, 01:05 AM
#1
Thread Starter
Hyperactive Member
Originally posted by mstuehler
If you use Nucleus' code (which is always a good idea), you can add the following to prevent the user from using [tab] to get to the button:
Private Sub Command1_GotFocus()
[some other object].SetFocus
End Sub
In other words, if the button you don't want the user to get is Command1, you can deflect the focus to another object (for example, Command2) using Command2.SetFocus in the GotFocus event of Command1.
Hope this helps.
Cheers!
It works!!! thank you.
p|-|34|2 /\/\3 f0|2 | $p34k 1337 
My TSS quote of the day: "If your haveing a bad day, just press the restart button."
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
|