RAD Studio VCL Reference
TActiveXControl.PropChanged Method (TDispID)

Generates an OnChanged event.

procedure PropChanged(const PropertyName: WideString); overload;
procedure PropChanged(DispID: TDispID); overload;
__fastcall PropChanged(const BSTR PropertyName);
__fastcall PropChanged(TDispID DispID);

Call PropChanged when the property specified by the DispID (or PropertyName) parameter changes. PropChanged generates an OnChanged event using the IPropertyNotifySink interface. 

When possible, call this procedure with the DispID rather than the PropertyName because it is more efficient. Calling PropChanged with the PropertyName first looks up the DispID from the given PropertyName before generating the event. 


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