Vcl.AxCtrls.TActiveFormControl.EventSinkChanged
Delphi
procedure EventSinkChanged(const EventSink: IUnknown); override;
C++
virtual void __fastcall EventSinkChanged(const System::_di_IInterface EventSink);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.AxCtrls.pas Vcl.AxCtrls.hpp |
Vcl.AxCtrls | TActiveFormControl |
Description
Responds when the EventConnect method sets or unsets an EventSink.
Vcl.AxCtrls.TActiveFormControl.EventSinkChanged inherits from System.Win.ComObj.TAutoObject.EventSinkChanged. All content below this line refers to System.Win.ComObj.TAutoObject.EventSinkChanged.
Responds when the EventConnect method sets or unsets an EventSink.
Do not call EventSinkChanged. This method is called by the EventConnect method to respond when an Event Sink is added to or removed from the TAutoObject instance. As implemented in TAutoObject, EventSinkChanged does nothing. When you set Generate Event Support Code in the Automation Object Wizard, the generated TAutoObject descendant overrides this method to initialize internal fields for handling new Event Sinks.