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 #41066 is a reply to message #40904] Wed, 22 September 2004 19:43 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
Andrew Rodger wrote:
>
> what if you dont have, or you lose, the widget id of a widget that is
> realized? how do you find it again?

How about this:

for i=0,10000 do $
if widget_info(i, /VALID) && widget_info(i, /REALIZED) then print, i

Then it's up to you to work out which is which!

But I must say I've never actually wanted to do this.

If you want to find and destroy dangling widgets,

widget_control, /RESET

--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[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: Sat Oct 11 03:15:49 PDT 2025

Total time taken to generate the page: 2.88157 seconds