-
Hey!
I'm using VB6. I have a form which contains five buttons and a frame. There are couple of buttons, checkboxes and six optionbuttons on this frame. I want to set the tabstop only for those five buttons outside the frame. How to do this? Setting the tabstop property to false helps only with the regular command buttons and checkboxes but after the tabindex 5 my app jumps to one of those optionbuttons (even I have set them also to tabstop = false)....please help.
L
-
Try setting their tabindex to '0'?
I realy don't think that'll help much but it's worth a try...?
-
Thanks but that didn't work....any other ideas??
-
just an idea, try usin the getfocus to setfocus elsewhere.
ie when they tab into it set focus to one of the buttons
-
You must have done something wrong because if you set the TabStop property of the OptionButtons to False you won't be able to Tab to them.
Are your OptionButtons in a control array? If so, and you set the TabStop to False after the control array was created, you might have forgotten that you would then need to set the TabStop property of each control array member.
-
I'm not quit sure what do you mean by the control arrays........
-
You may already know this, but you create control arrays by copying existing controls. That action copies all the properties of the original control. What I was getting at however was that if you already have, say, three option buttons in a control array and their TabStop property is True, then if you want to change that, you need to change the TabStop property of each of the three option buttons.