Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tabstop Not Working 1

Status
Not open for further replies.

ianwin

Programmer
Jul 5, 2005
44
US
I have a form with a datagrid, a listbox and several option buttons and combo boxes and a command button grouped in a frame.

To start with the user selects an Item from one or more combo boxes and clicks the command button to perform a search. This populates both the list box and flexgrid as well as setting focus to the listbox. I only want the user to be able to tab between the grid and list box, therefore I have set the tabstop property of all the other controls to False. This works for the majority or controls however the option buttons are still included when the user tabs around the screen.

Any help would be greatly appreciated.

Regards,

Ian
 
This is a new one on me! What's happening is that the tabstop property gets set to true when you click on the option button. All you have to do is go into the click event of the option button and set the tabstop property back to false.

HTH

Bob
 
Thanks for that Bob, worked a treat.

Ian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top