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

Home » Public Forums » archive » Group leader
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: Group leader [message #13196 is a reply to message #13083] Sat, 24 October 1998 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Imanol Echave (ccaeccai@sc.ehu.es) writes:

> I have a little question: What is the difference between the GROUP_LEADER
> keyword on XMANAGER and the same keyword used on a top-level base? Do they work
> on the same way?

In this case it doesn't matter at all whether you assign
the group leader to the top-level base with the GROUP_LEADER
keyword when you create the TLB or when you call XMANAGER,
but this is not always the case with the TLB. For example,
you should never use the EVENT_PRO keyword to assign the
event procedure to a TLB; always use the EVENT_HANDLER
keyword on XMANAGER. Similarly, you should never use the
KILL_NOTIFY keyword to assign a clean-up routine to the
TLB; always use the CLEANUP keyword on XMANAGER.

Failure to heed these warnings causes some VERY strange
behaviour in widget programs. And the warnings in the
documentation are worded in such a way that many people
miss them. :-)

Cheers,

David

----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438, Toll-Free Book Orders: 1-888-461-0155
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: max/min over only one dimension?
Next Topic: Keyboard-events

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

Current Time: Sat Oct 11 00:51:44 PDT 2025

Total time taken to generate the page: 0.24109 seconds