Results 1 to 3 of 3

Thread: TAB-key problem

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 1999
    Posts
    309

    Post

    I need to execute a function when the tab key is pressed....
    The function needs only be executed while a combobox has the focus. When Tab is pressed the focus should go to a treeview..

    The current status is that on pressing tab the focus goes to the treeview. I can't get the code to be axecuted though...

    I tried the forms keydown and keypress as well as the comboboxes keydown and keypress...

    Anybody got a clue ??

  2. #2
    Hyperactive Member
    Join Date
    Nov 1999
    Location
    Galway, Ireland
    Posts
    316

    Post

    What you could do is in the lostfocus event of the combo box look to see if the last key pressed was tab and execute your code in there??????

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 1999
    Posts
    309

    Post

    Good one.... Works

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