Vcl.OleCtrls.TOleControl.GetCompProp

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetCompProp(Index: Integer): Comp;

C++

System::Comp __fastcall GetCompProp(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 TColor.

Use GetCompProp to read a property of an ActiveX control. The Index parameter specifies the dispid of the property being read. GetCompProp returns the value of the read property.

See Also