RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleControl.SetColorProp Method

Sets a property of an ActiveX control to the specified color.

Pascal
procedure SetColorProp(Index: Integer; Value: TColor);
C++
__fastcall SetColorProp(int Index, TColor Value);

Use SetColorProp to set a property of an ActiveX control to the specified color. The Index parameter specifies the dispid of the property being set. The Value parameter contains the set color. 

 

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