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

Home » Public Forums » archive » Help: Retrieve the state of radio button
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
Help: Retrieve the state of radio button [message #15038] Mon, 19 April 1999 00:00
VU KHAC Tri is currently offline  VU KHAC Tri
Messages: 25
Registered: March 1999
Junior Member
Hi forks,

I implement a dialog with radio buttons, but I don't know to get their
states (checked or not).
Could you give me an advice ?
Thank you for help,
Tri.
Re: Help: Retrieve the state of radio button [message #15126 is a reply to message #15038] Mon, 19 April 1999 00:00 Go to previous message
Pavel Romashkin is currently offline  Pavel Romashkin
Messages: 166
Registered: April 1999
Senior Member
> send me this exaple code

The code for bitwise setting / checking can be found in the file

http://spot.colorado.edu/~romashki/idl/hc_checkbox.pro

Again, notice that in many cases, when you use

MY_CBs = CW_BRGOUP(parent, ........ /NONEXCL)

then calling WIDGET_CONTROL, MY_CBs, get_value=cb_state

places a vector of button states in the cb_state variable. I found this
to be not flexible enough, and I like the ability of 1-line IF-checking
with hc_checkbox.pro

Cheers,
Pavel
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: framegrabber
Next Topic: Framegrabber

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

Current Time: Wed Oct 08 18:38:36 PDT 2025

Total time taken to generate the page: 0.00415 seconds