radiobutton TacRadioButton component
Hierarchy Properties Events
Return to Introduction  Previous page  Next page
The acRadioButton component is the improved TRadioButton, which supports multiline captions and able to have non-3D (flat) border for the radio button. 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 TRadioButton, you can find out about its basic features in the Delphi/BCB documentation (but you probably already know how to use RadioButtons. 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.  

iiwarning The acRadioButton is incompatible with standard TRadioButton. Do not place the TRadioButton's together with TacRadioButtons to one group.  

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 radiobutton;  
OnMouseLeaveoccurs when mouse pointer leaves the radiobutton.  

See also
acCheckBox component.