|
-
Sep 20th, 2001, 12:53 AM
#6
Junior Member
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!
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
|