bladernr
September 29th, 2004, 06:55 PM
hello everyone.
Ok, I have my app finished, except for one annoying thing... I cant get the tab order to work in the group boxes.
The app is set up as follows:
two lines for User input each line contans 3 text boxes for entering hours, minutes and seconds and one group box. The GroupBox contains 2 radio buttons, one for am and one for pm.
so the problem is tab order and focus. First, how do you assign focus to a radio button? I tried Me.AmButton.Focus(), but that doesnt work.
Next, how do you successfully assign tab order. I set the order as follows:
1 hours1
2 minutes1
3 seconds1
4 groupbox1
4.0 groupbox1.ambutton
4.1 groupbox1.pmbutton
5 hours2
6 minutes2
7 seconds2
8 groupbox2
8.0 groupbox2.ambutton
8.1 groupbox2.pmbutton
The problem is, when I build the app and run it (F5) I can tab through the text boxes, but the group boxes and radio buttons are skipped over each time.
I have looked around the net but have not found anything that I didnt already know about doing this... and I have checked all the tabs, and the order is correct.
any ideas?
Jeff
Ok, I have my app finished, except for one annoying thing... I cant get the tab order to work in the group boxes.
The app is set up as follows:
two lines for User input each line contans 3 text boxes for entering hours, minutes and seconds and one group box. The GroupBox contains 2 radio buttons, one for am and one for pm.
so the problem is tab order and focus. First, how do you assign focus to a radio button? I tried Me.AmButton.Focus(), but that doesnt work.
Next, how do you successfully assign tab order. I set the order as follows:
1 hours1
2 minutes1
3 seconds1
4 groupbox1
4.0 groupbox1.ambutton
4.1 groupbox1.pmbutton
5 hours2
6 minutes2
7 seconds2
8 groupbox2
8.0 groupbox2.ambutton
8.1 groupbox2.pmbutton
The problem is, when I build the app and run it (F5) I can tab through the text boxes, but the group boxes and radio buttons are skipped over each time.
I have looked around the net but have not found anything that I didnt already know about doing this... and I have checked all the tabs, and the order is correct.
any ideas?
Jeff