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

Home » Public Forums » archive » Re: Dynamically adding and removing widgets
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: Dynamically adding and removing widgets [message #46461 is a reply to message #46450] Wed, 23 November 2005 11:23 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
akkiraju writes:

> Thanks. I have cross checked my sate variable value in the
> "show_phenomenon" procedure.
> IDL> print, base
> mask_tab
> IDL> print,state
> { 7 8 6 20 21
> 16 17 18}
>
> state is not undefined in my case, I can access the components and
> their names from the show_phenomenon procedure. But when I use these
> names to add new widgets it doesnt work, thats the real problem.

I agree with Antonio. When you get into Show_Phenomenon and look
for your state variable in the UValue of the top-level base it is
not defined. It can't be.

I'm not sure how you think you are checking it, but I am
100% sure that what you did is not what is happening in
your program. I would stop the program just before the
Show_Phenomenon call, then step into the Show_Phenomenon
code. You will see that state is undefined there.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: How should I mark annotations in multi plot window
Next Topic: compound widget for directory selection (no pop_up)

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

Current Time: Fri Oct 10 08:35:27 PDT 2025

Total time taken to generate the page: 0.80015 seconds