RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomColorBox.SetStyle Method

Sets the Style property.

Pascal
procedure SetStyle(AStyle: TColorBoxStyle); reintroduce;
C++
__fastcall SetStyle(TColorBoxStyle AStyle);

SetStyle is the protected write implementation of the Style property. It repopulates the list to reflect the new value of Style, and disables the color box if the new value for Style results in an empty color box. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!