Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to refer to optionbutton via Extra!basic

Status
Not open for further replies.

Holly888

Programmer
Dec 3, 2008
10
CA

How to tell option buton 4 is selected or not, the following code didn't work:

if mydialogbox.OptionButton4.selected =true then
msgbox "option button 4 selected ."
end if
 
Solution found:

Select case mydialogbox.optiongroup1

Case 0
msgbox "first option button"

Case 1
msgbox "second option button"
Case else
msgbox "invalid option"
End Select
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top