Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tabbing between radio buttons in VB6

I have a form which consists of six radio buttons within a frame which are mutually exclusive and one command button.

I already gave different tab-index to each radio button but at the run time by pressing tab focus skipped out of the radio buttons.

so how to give focus to another radio button by pressing TAB?

like image 728
Vinay Kharecha Avatar asked Jul 02 '12 05:07

Vinay Kharecha


1 Answers

As others have said above this is intended behaviour. If you really wish to achieve this then the only way I can think to do this is place each radio button on a separate picture box (BorderStyle = None, TabStop = False). This will then work but you won't be able to use arrow keys to move between the radio buttons, only tabbing.

like image 112
cw_dev Avatar answered Oct 06 '22 00:10

cw_dev