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

Home » Public Forums » archive » widget_list in IDL 5.1
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: widget_list in IDL 5.1 [message #12028 is a reply to message #11934] Mon, 15 June 1998 00:00 Go to previous messageGo to previous message
David Foster is currently offline  David Foster
Messages: 341
Registered: January 1996
Senior Member
jared gottlieb wrote:
>
> A variation on the theme:
>
> I'm working with the /NON-EXCLUSIVE variant of button-groups (IDL 5.1, DEC
> UNIX platform). When the user selects one of the buttons an event select
> occurs and I can get a 0/1 map of which buttons are currently selected.
> When the user toggles (de-selects) the button, there doesn't seem to be an
> event. There is an /NO_RELEASE for the call to CW_BGROUP that in the
> manual promises an event only when a button is selected. The opposite does
> not appear to be the default, that is a '/RELEASE'. Any ideas for a direct
> solution?

Just remove the /NO_RELEASE keyword. You are telling IDL to send
events only when buttons are selected, so no event is generated
when a button is released. This keyword is useful when you have
exclusive buttons, when you only want an event from the button
that was selected, and not from the one that was *unselected*.

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
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: new book/software - multiscale image processing
Next Topic: odd behavior of loadct

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

Current Time: Sat Oct 11 15:41:25 PDT 2025

Total time taken to generate the page: 0.79859 seconds