Vcl.OleCtrls.TOleControl.GetIDispatchProp
Delphi
function GetIDispatchProp(Index: Integer): IDispatch;
C++
_di_IDispatch __fastcall GetIDispatchProp(int Index);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | protected | Vcl.OleCtrls.pas Vcl.OleCtrls.hpp |
Vcl.OleCtrls | TOleControl |
Description
Lit une propriété d'un contrôle ActiveX. La propriété est supposée être de type IDispatch.
Utilisez GetIDispatchProp pour lire une propriété d'un contrôle ActiveX. Le paramètre Index spécifie le dispid de la propriété en cours de lecture. GetIDispatchProp renvoie la valeur de la propriété lue.