how do i capture the tab key
i have a form and on that form i want to catch the tab key so that when a user hits the tab key it goes to a defined textbox or drop down. i have tried tab ordering but its not working , my forms key preview is set to true, how do i do this programatically?
Re: how do i capture the tab key
Quote:
Originally Posted by
chrishoney
i have a form and on that form i want to catch the tab key so that when a user hits the tab key it goes to a defined textbox or drop down. i have tried tab ordering but its not working , my forms key preview is set to true, how do i do this programatically?
How is it not working?
Re: how do i capture the tab key
Quote:
Originally Posted by
dbasnett
How is it not working?
the order i have set is not followed, have also manually set the tab index on the properties box but to no avail
Re: how do i capture the tab key
Quote:
the order i have set is not followed
Then you haven't, despite what you might think, set the order correctly or you have a richtextbox which accepts Tabs on the path or, far less likely, you have something which is capturing Tabs already. There is no way for this to 'not work' in other circumstances unless it is explicitly overridden (if that's possible, never tried it; never needed to).