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

Home » Public Forums » archive » widget IDs ever zero?
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: widget IDs ever zero? [message #41187 is a reply to message #40904] Fri, 24 September 2004 18:35 Go to previous message
algosat is currently offline  algosat
Messages: 7
Registered: September 2004
Junior Member
> Have you tried running more than one widget program at a time,
> Andrew, each with the same UNAME for the storage widget? I'm
> thinking your program might become a bit confused at that point. :-)
>
> Which of the several managed widgets, each with the same UNAME
> should you return?
>

I think the code in its current form would get mighty confused :)
I only imagine this happening when multiple instances of the same
widget are running on the same computer. In my case this is not often
(never to date).
Otherwise I reference the state data for any given widget by

widget_control,widget_info(find_wid('specific_tlb'),/CHILD), get_uvalue=state

This of course will still suffer the same problem when two or more
instances of the same program are running. This is something I will
have a think on though.

If I am only running a single version of a GUI (and associated popups)
then I try and avoid generic names for the uvalue. If I am using a CW
I am usually passing in the uname. Works well in these situations.

Cheers
Andrew
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Colored image
Next Topic: Unique system identified?

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

Current Time: Fri Oct 10 20:30:52 PDT 2025

Total time taken to generate the page: 0.71875 seconds