Vcl.AxCtrls.TActiveXControl.PropChanged
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 */;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.AxCtrls.pas Vcl.AxCtrls.hpp |
Vcl.AxCtrls | TActiveXControl |
Description
Génère un événement OnChanged.
Appelez la méthode PropChanged quand la propriété spécifiée par le paramètre DispID (ou PropertyName) change. PropChanged génère un événement OnChanged utilisant l'interface IPropertyNotifySink.
Lorsque c'est possible, appelez cette procédure avec le paramètre DispID plutôt que PropertyName, car il est plus performant. Appeler PropChanged avec le paramètre PropertyName cherche d'abord le DispID dans l'objet PropertyName donné avant de générer l'événement.