RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TActiveXControl.PropChanged Method (TDispID)

Generates an OnChanged event.

Pascal
procedure PropChanged(const PropertyName: WideString); overload;
procedure PropChanged(DispID: TDispID); overload;
C++
__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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!