Vcl.OleCtrls.TOleControl.GetColorProp

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetColorProp(Index: Integer): TColor;

C++

System::Uitypes::TColor __fastcall GetColorProp(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 GetColorProp to read a property of an ActiveX control. The Index parameter specifies the dispid of the property being read. GetColorProp returns the value of the read property.

See Also