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

Home » Public Forums » archive » Re: Widget Definition from the Event Handler?
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 Definition from the Event Handler? [message #55924] Thu, 13 September 2007 08:39 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
2d@onetel.com writes:

> As i understand it, in a widget program the control goes initially to
> the Widget Definition Module and then through the xmanager to the
> Event Handler. However, how does IDL cope when it becomes necessary in
> the Event Handler part of the program to redfine a widget, say for
> example, when a table widget requires more elements? Is is possible
> through an Event Handler to redefine the dimension of a table widget,
> or must all widgets be defined absolutly in the initial Widget
> Definition Module?

Well, sort of. I'm not sure control "goes" anywhere.
Widgets appear on the display, and if events "occur"
in those widgets, IDL dispatches them to the proper event
handler. (XManager often doesn't even have to be involved.)

But it is true that you can create or modify widgets in
any IDL procedure or function that you like, including
in event handlers. :-)

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
Previous Topic: Re: how to transfer MS-DOS bat file in IDL?
Next Topic: Adding arrays of different dimensions

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

Current Time: Wed Oct 08 17:01:32 PDT 2025

Total time taken to generate the page: 0.00340 seconds