ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Tabbing to Checkboxes (https://www.excelbanter.com/excel-programming/286350-tabbing-checkboxes.html)

Thomas[_9_]

Tabbing to Checkboxes
 
I have several checkboxes on a form. I have set the
tabstop property to true, but the checkboxes are not
taking focus when I tab to them.

Is there a way to make them take focus when tabbed to?

Thanks,
Thomas

Peter Atherton[_6_]

Tabbing to Checkboxes
 
The tab index property is what you want. In the VB editor
select Properties (F4) and choose the Tab index. The index
starts from zero (the first tab) then increases by one.

Normally the tab index is okay, it is just when you add
another object to the form that the index then becomes in
the wrong order.

Remember to alter any other objects that are affected by
the change.

Regards
Peter

Remove Nothere to reply directly
-----Original Message-----
I have several checkboxes on a form. I have set the
tabstop property to true, but the checkboxes are not
taking focus when I tab to them.

Is there a way to make them take focus when tabbed to?

Thanks,
Thomas
.


Thomas[_9_]

Tabbing to Checkboxes
 
Thanks Peter.
The tab index works fine, and I am able to enter a
checkbox by pressing the spacebar.
What is not working is that I'm not able to tell which
checkbox I'm on, b/c it won't take any focus.
-----Original Message-----
The tab index property is what you want. In the VB

editor
select Properties (F4) and choose the Tab index. The

index
starts from zero (the first tab) then increases by one.

Normally the tab index is okay, it is just when you add
another object to the form that the index then becomes

in
the wrong order.

Remember to alter any other objects that are affected by
the change.

Regards
Peter

Remove Nothere to reply directly
-----Original Message-----
I have several checkboxes on a form. I have set the
tabstop property to true, but the checkboxes are not
taking focus when I tab to them.

Is there a way to make them take focus when tabbed to?

Thanks,
Thomas
.

.



All times are GMT +1. The time now is 06:41 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com