RAD Studio
ContentsIndex
PreviousUpNext
Setting Tool Button Appearance and Initial Conditions

The table below lists some actions you can set to change a tool button's appearance:  

Setting tool buttons' appearance  

To make a tool button: 
Set the toolbar's: 
Appear pressed  
(on tool button) Style property to tbsCheck and Down property to True.  
Appear disabled  
Enabled property to False.  
Have a left margin  
Indent property to a value greater than 0.  
Appear to have "pop-up" borders, thus making the toolbar appear transparent  
Flat property to True.  

Note: Using the Flat property of TToolBar requires version 4.70 or later of COMCTL32.DLL.
To force a new row of controls after a specific tool button, Select the tool button that you want to appear last in the row and set its Wrap property to True. 

To turn off the auto-wrap feature of the toolbar, set the toolbar's Wrapable property to False.

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