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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Option buttons on a form

Status
Not open for further replies.

ETID

Programmer
Jul 6, 2001
1,867
US
Hi again,

Is there a propertie or value of some sort that I can capture/pass to a variable,..that will identify which of 6 option buttons is the one that is currently selected?

thanks....
 
Yes - if you take the value of the enclosing frame rather than query every button to see if it selected. You will get the result of the currently selected OptionIndex value.

John
 
by enclosing frame..do you mean the form?
 
No. Instead of putting the option buttons directly on the form, use a frame from the toolbox and the wizard will sort out putting everything in for you.
In the form design toolbox it looks like a rectangle with XYZ written at the top.

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top