comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Widget exclusive buttons
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Widget exclusive buttons [message #31916] Fri, 23 August 2002 09:09
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Cecilia Sanchez (c_sanchez@lanl.gov) writes:

> I have a widget with a couple of radio (exclusive) buttons. During
> program execution I would like to know if the use did select from either
> button, and print an appropriate message if none of them was selected.
> How can I test if a radio button has been selected?

Check the flag in your info structure that you set when
the button was selected and un-set when it was de-selected. :-)

Cheers,

David

P.S. Let's just say there are numerous reasons why
most of the IDL widget creation routines are found
wrapped up as compound objects. :-)

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Widget exclusive buttons
Next Topic: Help with counting irregular shapes on a Black-White Image

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:43:43 PDT 2025

Total time taken to generate the page: 0.00536 seconds