Results 1 to 2 of 2

Thread: keyboard handler problem

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2000
    Location
    Slovenia
    Posts
    43

    keyboard handler problem

    i have a text box, where user should enter an id. If he enters an invalid id and presses ENTER, i would like to offer him a form with list of valid id's. On that form i have a keypress sub on an active text box (if ENTER is pressed the current id is returned to first form). The problem is that when i enter invalid id and press ENTER on the first form, the second form appears and disappears and returns the firs id of the list. Seems like the same ENTER is interpreted (and reacted upon) by both forms. How can i avoid this?
    Andrej Zalar

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    How about this ?
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

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