Hi, Jud.
JM> CM> Why not declare your procedure in the Class, then pick it in the
OnSho
JM> CM> Event from the down arrow list? Don't double click the event... This
JM> CM> way your procedure (subroutine) gets called from the OnShow Event.
JM> I originally did this, but the problem (and point of the thread)
JM> is that it doesn't explicitly show the call to my subroutine in
JM> the source.
correct, it's hidden in the underlying object. Have you got the VCL
source? It's well worth it just to see how they do all this stuff. It
contains...
procedure DoShow;
if Assigned (FOnShow) then FOnShow (Self);
end;
FOnShow is the field corresponding to the OnShow event. Assigned is
simply a test for nil.
Regards, fIM.
---
þ * þ Are part-time band leaders semi-conductors?
---
---------------
* Origin: Pedants Inc. (3:712/610.24)
|