Vcl.OleCtrls.TOleControl.GetOleVariantProp
Delphi
function GetOleVariantProp(Index: Integer): OleVariant;
C++
System::OleVariant __fastcall GetOleVariantProp(int Index);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.OleCtrls.pas Vcl.OleCtrls.hpp |
Vcl.OleCtrls | TOleControl |
Description
Reads a property of an ActiveX control. The property is expected to be of type OleVariant.
Use GetOleVariantProp to read a property of an ActiveX control. The Index parameter specifies the dispid of the property being read. GetOleVariantProp returns the value of the read property.