Adding a Speed Button to a Panel

From RAD Studio
Jump to: navigation, search

Go Up to Adding a Toolbar Using a Panel Component

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.

See Also