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

Home » Public Forums » archive » Validate widget id
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: Validate widget id [message #30595 is a reply to message #30521] Tue, 07 May 2002 06:45 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Guido Vent wrote:
>
> Hello,
>
> I want to check, if a certain widget is destroyed. But if I use
> wtget(...,/destroyed) an error is raised when the widget is already
> destroyed.
> I use PV-Wave 7.5 on Windows NT.
>
> Any suggestion?
>
> Regards,
>
> Guido

Dear Guido

next trial,

I don't know much about PV-WAVE but I hope you have something like
CATCH or ON_ERROR

May be something like this will do the job

FUNCTION is_valid,id

errvar=0
CATCH,errvar
IF errvar NE 0 THEN RETURN,0
WIDGET_CONTROL,id,get_value=v


RETURN,1
END


--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-I)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
------------------------------------------------------------ -------
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml
============================================================ =======
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Gamma Random numbers
Next Topic: Re: where can I find them

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

Current Time: Fri Nov 28 13:09:51 PST 2025

Total time taken to generate the page: 1.92485 seconds