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 #4442 is a reply to message #4364] Tue, 30 May 1995 00:00 Go to previous messageGo to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
zawodny@arbd0.larc.nasa.gov (Joseph M Zawodny) writes:

> 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.

This new behavior may be good for you, but it obviously adversely affects other
people. The concept of backwards compatibility is an extremely important one
that RSI should pay more attention to. In this case, RSI should have allowed
for the additional functionality that you wanted with a keyword, rather than
changing the default behavior.

William Thompson
[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 16:09:55 PDT 2025

Total time taken to generate the page: 0.00236 seconds