Vcl.OleCtrls.TOleControl.GetOleVariantProp
Delphi
function GetOleVariantProp(Index: Integer): OleVariant;
C++
System::OleVariant __fastcall GetOleVariantProp(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 OleVariant.
Utilisez GetOleVariantProp 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. GetOleVariantProp renvoie la valeur de la propriété lue.