Vcl.AxCtrls.TActiveXControl.PropChanged

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

void __fastcall PropChanged(const System::WideString PropertyName)/* overload */;
void __fastcall PropChanged(int DispID)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.AxCtrls.pas
Vcl.AxCtrls.hpp
Vcl.AxCtrls TActiveXControl

Description

Generates an OnChanged event.

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.