RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAutoObject.EventConnect Method

Queries the interface Sink parameter and saves the EventSink.

Pascal
procedure EventConnect(const Sink: IUnknown; Connecting: Boolean);
C++
__fastcall EventConnect(const IUnknown Sink, Boolean Connecting);

EventConnect sets the EventSink property by querying the interface Sink parameter that is passed in for events. This method is called only if you set the Generate Event Support Code option of the Automation wizard. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!