Results 1 to 2 of 2

Thread: Disableing the TAB key

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Location
    london,UK
    Posts
    1

    Question Disableing the TAB key

    I want to diable the TAB key in the key board when using the application in visual basic.My purpose is to prevent the user from using the TAB key for navigation within the control.

  2. #2
    On the KeyPress event, check and see if the user presesd the tab key. If they did, change the KeyAscii back to 0 and call SetFocus on the current control.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width