Buttons and Similar Controls
Go Up to Types of Controls Index
(PDF) Building User Interfaces with Delphi 2009, by Marco Cantu discusses new ways to use buttons and other controls.
Aside from menus, buttons provide the most common way to initiate an action or command in an application. Button-like controls include:
Use this component: | To do this: |
---|---|
TButton |
Present command choices on buttons with text. |
TBitBtn |
Present command choices on buttons with text and glyphs. |
TSpeedButton |
Create grouped toolbar buttons. |
TCheckBox |
Present on/off options. |
TRadioButton |
Present a set of mutually exclusive choices. |
TToolBar |
Arrange tool buttons and other controls in rows and automatically adjust their sizes and positions. |
TCoolBar |
Display a collection of windowed controls within movable, resizable bands. |
Action lists let you centralize responses to user commands (actions) for objects such as menus and buttons that respond to those commands. See Handling VCL Actions Using an Action List for details on how to use action lists with buttons, toolbars, and menus.
You can custom draw buttons individually or application wide. See Developing the Application User Interface Index.