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

Home » Public Forums » archive » Widgets - 3.6 -> 4.0 Aaarrrggghhh!!
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
Widgets - 3.6 -> 4.0 Aaarrrggghhh!! [message #5908] Thu, 14 March 1996 00:00 Go to next message
slx is currently offline  slx
Messages: 7
Registered: February 1996
Junior Member
Hi,
I'm writing a program that has a big window full of widgets. I had
them all set out nicely in 3.6 and then we changed to 4.0 and all
my widgets got rearranged. I would like the program to be compatible
with all version of IDL. Is there are more robust way of putting
widgets togethor than just assigning them sizes and putting them
in row or column widgets. I find this hit and miss approach very
frustrating. I'm pretty cross with the authors of IDL for not making
the widget design backwards compatible.


Samantha Lane Australian Nuclear Science and
slx@anpnt22.anp.ansto.gov.au Technology Organistation
ISD + 61 2 717 3601 New Illawarra Rd ,
Lucas Heights. 2234
Re: Widgets - 3.6 -> 4.0 Aaarrrggghhh!! [message #5988 is a reply to message #5908] Sun, 17 March 1996 00:00 Go to previous message
landsman is currently offline  landsman
Messages: 93
Registered: August 1991
Member
In article <14MAR199619441349@sorbet.gsfc.nasa.gov>, landsman@sorbet.gsfc.nasa.gov (Wayne Landsman (301)-286-3625) writes...
> The function SINCE_VERSION() below from the IDL Astronomy Library tests
> whether the current version is later than a specified one. In your case,
> it would be used as
> if since_version('4.0.0') then ....
>
To followup my own posting, Bill Thompson has pointed out that the use of
SINCE_VERSION() is probably unnecessary since a simple comparison operator
seems to do the trick, i.e.,

if !VERSION.RELEASE GE '4.0.0' then ...

This simple comparison seems to always work. even though !VERSION.RELEASE
is sometimes 2 characters (e.g. '3.6') and sometimes 4 (e.g. '4.0.1a').

--Wayne Landsman landsman@sorbet.gsfc.nasa.gov
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: map_image in IDL
Next Topic: Should we split this group? (was Re: Lift the "ban" :-))

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

Current Time: Fri Oct 10 15:59:18 PDT 2025

Total time taken to generate the page: 0.96035 seconds