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

Home » Public Forums » archive » Re: How to get windows id or title by clicking on it
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: How to get windows id or title by clicking on it [message #66888 is a reply to message #66887] Thu, 18 June 2009 20:17 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jeanphi62 writes:

> tlb = widget_base(title="mywindow", MBAR=mbar, /col, $
> event_pro=eventHandler) ??

It *used* to be the case, although probably not anymore,
that you would get very strange results if you used the
EVENT_PRO keyword to assign an event handler to a widget
that was going to be managed directly by XMANAGER (as
the tlb is here). It still makes me nervous to see it,
although I have seen it in ITTVIS code, too, presumably
without ill effect.

But I still assign the TLB event handler with the EVENT_HANDLER
keyword on the XMANAGER call. Old habits die hard, I guess. :-)

Cheers,

Dav d



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to get windows id or title by clicking on it
Next Topic: Re: Problems with tying ROI's to image

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

Current Time: Fri Oct 10 10:25:48 PDT 2025

Total time taken to generate the page: 1.12142 seconds