checkbox TacCheckBox component
Hierarchy Properties Events
Return to Introduction  Previous page  Next page
The acCheckBox component is the improved TCheckBox, which supports multiline captions and able to have non-3D (flat) border for the checkbox. Contains all needed properties for flexible adjustment of multiline text within client area of control and aligment withing its container.  
Since this is just enchancement of standard TCheckBox, you can find out about its basic features in the Delphi/BCB documentation (but you probably already know how to use CheckBoxes. If not — select necessary property in Object Inspector and press F1). This documentation descibes only additional features and improvements.  

tip To specify multiline caption — set WordWrap property to True. To make the flat checkbox — use Ctl3D property.  

Additional and improved properties
Aligncontrols placement of button within its container;  
AlignmentHorzspecifies horizontal alignment of text within client area of control;  
AlignmentVertspecifies vertical alignment of text within client area of control;  
BoxAlignmentcontrols placement of the checkbox relatively to the caption;  
Ctl3Ddetermines whether a checkbox has a three-dimensional (3-D) or two-dimensional look;  
ParentCtl3Ddetermines whether a checkbox has same 3-D look as its container;  
WordWrapspecifies whether the text on checkbox wraps when it is too long for the width of the control. When WordWrap is True, caption can be multiline.  

OnMouseEnteroccurs when mouse pointer hovers the checkbox;  
OnMouseLeaveoccurs when mouse pointer leaves the checkbox.  

See also
acRadioButton and acCheckGroupBox components.