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

Home » Public Forums » archive » Re-setting null values for compound button widget
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Re-setting null values for compound button widget [message #15020 is a reply to message #14935] Mon, 12 April 1999 00:00 Go to previous message
David Foster is currently offline  David Foster
Messages: 341
Registered: January 1996
Senior Member
David Sheerin wrote:
>
> Hi all
>
> After creating an exclusive CW button group and sensitising it and
> selecting a button, is there any way (after desensitising and sensitising
> it again) to create the original configuration of no buttons selected?
> Thanks for any help received.
>
> David

David -

When you create the CW button group, use the IDS= keyword to store
the list of button ids for the group as LONARR[]. Then later you can
restore these buttons to whatever state you like, eg.

for i=0, n_elements(bgroup_ids) - 1 do $
widget_control, bgroup_ids[i], set_button=0

Dave
--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
David S. Foster Univ. of California, San Diego
Programmer/Analyst Brain Image Analysis Laboratory
foster@bial1.ucsd.edu Department of Psychiatry
(619) 622-5892 8950 Via La Jolla Drive, Suite 2240
La Jolla, CA 92037
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Re-setting null values for compound button widget
Next Topic: Re: Widget Event Handling Problem

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

Current Time: Wed Oct 08 15:50:25 PDT 2025

Total time taken to generate the page: 0.00340 seconds