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

Home » Public Forums » archive » V4.0 Exclusive Button Groups
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: V4.0 Exclusive Button Groups [message #4443 is a reply to message #4364] Tue, 30 May 1995 00:00 Go to previous message
zawodny is currently offline  zawodny
Messages: 121
Registered: August 1992
Senior Member
In article <3q4rb7$sgn@ncar.ucar.edu> cavanaug@uars1.acd.ucar.edu (Charles Cavanaugh) writes:
>
> Here is one in what I assume will be many "How come IDL V4.0 handles
> [insert programming concept here] differently than V3.6?" questions.
>
> With V3.6, it was possible that an exclusive button group could have
> none of the buttons set. With V4.0, this seems to be impossible, as
> clicking on the button that was previously set does not generate an
> event. I have lots of code where it is important that only one (or
> none) of a list of conditions is set. I would like to retain the
> "none" aspect of the conditions list, but it seems now I'll have to
> revisit all this code.
>
> Has anyone else experienced this behavior, and if so, is there a simple
> solution to return behavior to that of V3.6 (without returning to V3.6)?

Hooray! I have been waiting for this feature to come about for some time.
I think the solution to your problem is to add a button (call it NONE) to
you exclusive button widget. You could test for the IDL version and add
it only if your at or beyond (assuming RSI will not un-fix it in a future
release) V4.0.

--
Joseph M. Zawodny (KO4LW) NASA Langley Research Center
Internet: j.m.zawodny@larc.nasa.gov MS-475, Hampton VA, 23681-0001
TCP/IP: ko4lw@ko4lw.ampr.org Packet: ko4lw@n4hog.va.usa.na
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: File test
Next Topic: Re: Clever Where() test

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

Current Time: Wed Oct 08 15:57:33 PDT 2025

Total time taken to generate the page: 0.00479 seconds