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

Home » Public Forums » archive » Re: Checkbox Starting Checked
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: Checkbox Starting Checked [message #25135] Tue, 22 May 2001 10:57
Mark Guagenti is currently offline  Mark Guagenti
Messages: 14
Registered: May 2000
Junior Member
I definitely was!!! :)
Thanks

David Fanning wrote:

> I think you are missing it. :-)
>
> nonexclusiveBaseID = Widget_Base(/column)
> button1 = Widget_Button(nonexclusiveBaseID, Value='Dogs')
> button2 = Widget_Button(nonexclusiveBaseID, Value='Coyotes')
> Widget_Control, button2, /Set_Button
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting
> Phone: 970-221-0438 E-Mail: davidf@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Toll-Free IDL Book Orders: 1-888-461-0155
Re: Checkbox Starting Checked [message #25136 is a reply to message #25135] Tue, 22 May 2001 10:15 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Mark Guagenti (guagenti@foodsci.purdue.edu) writes:

> I am having some problems finding out how to use checkboxes in IDL. I
> am looking for a way to have a
> checkbox start (when the widget it realized) checked. I thought there
> would be some value that I would
> have to set with Widget_Control but I don't see what that value is. Am
> I just missing it?

I think you are missing it. :-)

nonexclusiveBaseID = Widget_Base(/column)
button1 = Widget_Button(nonexclusiveBaseID, Value='Dogs')
button2 = Widget_Button(nonexclusiveBaseID, Value='Coyotes')
Widget_Control, button2, /Set_Button

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@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: Checkbox Starting Checked
Next Topic: Re: IDL interpreter questions - can someone (D.Fanning) explain - TIA

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

Current Time: Wed Oct 08 11:42:05 PDT 2025

Total time taken to generate the page: 0.00378 seconds