RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleControl.GetCompProp Method

Reads a property of an ActiveX control. The property is expected to be of type TColor.

Pascal
function GetCompProp(Index: Integer): Comp;
C++
__fastcall Comp GetCompProp(int Index);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!