RAD Studio
ContentsIndex
PreviousUpNext
Adding a Speed Button to a Panel

To add a speed button to a toolbar panel, place the speed button component (from the Additional category of the Tool palette) on the panel. 

The panel, rather than the form, "owns" the speed button, so moving or hiding the panel also moves or hides the speed button. 

The default height of the panel is 41, and the default height of speed buttons is 25. If you set the Top property of each button to 8, they'll be vertically centered. The default grid setting snaps the speed button to that vertical position for you.

TToolBar 

TCoolBar 

TPanel 

TToolButton 

TSpeedButton

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