button TacButton component
Hierarchy Properties Events
Return to Introduction  Previous page  Next page
The acButton component is improved TButton, which supports multiline caption (see WordWrap property) and can be aligned within its container (see Align).  
Since this is just enchancement of standard TButton, you can find out about its basic features in the Delphi/BCB documentation (but you probably already know how to use Buttons. If not — select necessary property in Object Inspector and press F1). This documentation descibes only additional features and improvements.  


Additional / improved properties
Aligncontrols placement of button within its container or parent control;  
Captionspecifies the text of the button. To separate single line of text on several lines, even if single line fits the button width, use "|" characters;  
WordWrapspecifies whether the button text wraps when it is too long for the width of the button. When WordWrap is True, caption can be multiline.  

New events
OnMouseEnteroccurs when mouse pointer hover button;  
OnMouseLeaveoccurs when mouse pointer leave button.  

See also
acBitBtn and acButtonsPanel components.