OptionButton
Posted: 21 Oct 2009, 14:16
Hi,
new problem with the optionbutton.
Place two OptionButtons onto a form (opt1 and opt2).
Set following properties:
opt2.Selected = True
opt1.TabIndex = 0
opt2.TabIndex = 1
When you run the application, the optionbutton opt1 is selected instead of opt2.
After the Form_Load event, the optionButtons_selectionchanged events are fired.
Maybe, the property TabIndex causes this behavior.
When you change the values of the tabindex properties, the OptionButton opt2 is selected.
new problem with the optionbutton.
Place two OptionButtons onto a form (opt1 and opt2).
Set following properties:
opt2.Selected = True
opt1.TabIndex = 0
opt2.TabIndex = 1
When you run the application, the optionbutton opt1 is selected instead of opt2.
After the Form_Load event, the optionButtons_selectionchanged events are fired.
Maybe, the property TabIndex causes this behavior.
When you change the values of the tabindex properties, the OptionButton opt2 is selected.