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

Home » Public Forums » archive » How to package existing non-OO widget application into a catalyst based objects?
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 package existing non-OO widget application into a catalyst based objects? [message #86308 is a reply to message #86307] Thu, 24 October 2013 13:00 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jie Zhou writes:

> I use the toplevelbase at the top base, then use getID()method to get the id of embed base widget, and then create children widgets with the ID as parent. Also use the xmanager to dispatch the events of these child-widgets to a specific procedure. More or less, it worked. Absolutely, i well change all parts of my system into oo-based step by step.

Well, I would advise you to do it sooner rather than later. The problem
you are going to have very, very soon now is that information you need
to do something useful in your event handler procedure is going to be
stored in the program object and will be unavailable to you in your
event handler procedure. Then you are going to wish (desperately, I
should think!) that you had assigned your widget object an event handler
method, where information from the ENTIRE program is available to it.
:-)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Strange error: % Keyword parameters not allowed in call.
Next Topic: Fast local contrast calculations?

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

Current Time: Wed Oct 08 19:59:59 PDT 2025

Total time taken to generate the page: 0.00406 seconds