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 (VCL only) |
Action lists let you centralize responses to user commands (actions) for objects such as menus and buttons that respond to those commands. See Using action lists 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 user interface.
TButton
TBitBtn
TSpeedButton
TCheckBox
TRadioButton
TToolBar
TCoolBar
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|