Re: Compound Widget and Event Handlers [message #34765] |
Thu, 10 April 2003 11:12 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Sabir Pasha (pashas77@yahoo.com) writes:
> So, the line:
>
> Widget_Control, self.idTLB, EVENT_PRO= Class_Event_Handler does not
> allow me access to the class at runtime in the Event_Handler...i
> didn't feel so clever anymore.
I think you need to re-read my post to Thomas Gutzler
from yesterday. My suggestion to him on how to solve this
problem apparently worked wonders. :-)
> I think I see why
> someone decided to go and build their own widget wrapper library.
Well, we have operators standing by to take your calls. :-)
Cheers,
David
P.S. If you want to see an example of a compound widget object,
have a look at FSC_DROPLIST, for example:
http://www.dfanning.com/programs/fsc_droplist.pro
Of course, I wouldn't write that program exactly that way
*now*, but the essential ideas are there.
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|