A set of constants to define the position of a glyph on a button.
A set of constants to define the state of a SpeedButton.
A small image that can be attached to buttons
Button Glyph: The graphics and legend on a button
Creates a new instance of the TButtonGlyph class
If you drop a component on the form editor you don´t need to add code to explicitly create it. The component is automatically created together with the the form, and destroyed when the form is destroyed.

However, if you create the component by code don´t forget to free it when it is no longer needed.

Constructors allocate memory and system resources needed by the object. They also call the constructor of any sub-objects present in the class.
Deallocates an object
If you call Destroy for an object witch hasn´t being initialized yet it will generate an error. Always use the Free method to deallocate objects, because it verifies if object variable doesn´t contain the value nil.

Take the following precautions when creating your own Destroy method:

* Declare Destroy with the override directive, because it is a virtual method.

* Always call 'inherited Destroy;' as the last thing on the destructor code.

* An exception may be raised on the constructor in case there is not enought memory to create an object, or something else goes wrong. If the exception is not handled inside the constructor, the object will be only partially built. In this case Destroy will be called, so your destructor must check if the resources were really allocated before disposing of them.

* Remember to call Free for all objects created on the constructor.
A set of possible types for BitButtons.
The ancestor class for TBitBtn.
TCustomBitBtn is the ancestor for TBitBtn. If you want to define your own bitbutton class, you should use this class to derive it from.
Creates a new instance of the TCustomBitBtn class
If you drop a component on the form editor you don´t need to add code to explicitly create it. The component is automatically created together with the the form, and destroyed when the form is destroyed.

However, if you create the component by code don´t forget to free it when it is no longer needed.

Constructors allocate memory and system resources needed by the object. They also call the constructor of any sub-objects present in the class.
Deallocates an object
If you call Destroy for an object witch hasn´t being initialized yet it will generate an error. Always use the Free method to deallocate objects, because it verifies if object variable doesn´t contain the value nil.

Take the following precautions when creating your own Destroy method:

* Declare Destroy with the override directive, because it is a virtual method.

* Always call 'inherited Destroy;' as the last thing on the destructor code.

* An exception may be raised on the constructor in case there is not enought memory to create an object, or something else goes wrong. If the exception is not handled inside the constructor, the object will be only partially built. In this case Destroy will be called, so your destructor must check if the resources were really allocated before disposing of them.

* Remember to call Free for all objects created on the constructor.
A Button with a small image attached
Bit Button: a push button control on a toolbar causing a particular action to be executed. It often displays a glyph or small graphic to denote its function.
The action executed when the user clicks the button.
If you assign an action from an ActionList to a TBitBtn.Action the correspondig execute-method is assigned to the OnClick event of the button. Assigning a action sets other properties of the button as well, like Enabled and Caption.
Is used to allign a bitbutton to a border of a parent control.
Align is used to align a control to a border of a parent control, even if the parent control is resized.
Possible values fo Allign are:
alTop: Places the control at the top, using the full clientwidth of its parent control.
alBottom: Places the control at the bottom, using the full clientwidth of its parent control.
alLeft: Places the control at the left side of its parent and uses the available height between any top or bottom alligned controls.
alRight: Like alLeft but on the right side of the parent control.
alNone: The control can be placed anywhere on the parent control.
alClient: The control takes al available space on parent control next to controls aligned to the top, bottom, right or left.
Anchors are used to keep a button on a defined distance to certain borders of the parent control.
Anchors can be used to keep control at a certain distance from a side of its parent control, when the parent control is resized.
For instance setting Anchors to [akBottom, akRight] will keep the control at a constant distance to the bottom right corner.
Setting this property will make the OnClick event executed when the user hits ESC.
Setting this property to true, will have the effect that when the user hits ESC this button is Clicked. Usually the Button which reacts to ESC sets the ModalResult of the form to mrCancel.
Sets the text displayed on the button.
Used to give a control certain minimum and or maximum dimensions.
Sets the minimum and maximum sizes for a control. If a control is resized the new dimensions are allways within the ranges given here. You should take care when setting these options that they do not conflict with the Anchors en Allign settings.
Setting this property will make the OnClick event executed when the user hits ENTER
Determines if the button reacts to a click.
Setting this property determines if the control can be used. If Enabled is false a bitbutton cannot be clicked. Setting the Enabled property to false also makes its appearance grayed. If an Action has been assigned to the bitbutton and this action is disabled then the enabled property is set to false as well.
Links a TSpeedButton with an action.
The ancestor class for TSpeedButton
TCustomSpeedButton is the ancestor for TSpeedButton. If you want to define your own speedbutton class, you should use this class to derive it from.
Creates a new instance of the TCustomSpeedButton class
If you drop a component on the form editor you don´t need to add code to explicitly create it. The component is automatically created together with the the form, and destroyed when the form is destroyed.

However, if you create the component by code don´t forget to free it when it is no longer needed.

Constructors allocate memory and system resources needed by the object. They also call the constructor of any sub-objects present in the class.
Deallocates an object
If you call Destroy for an object witch hasn´t being initialized yet it will generate an error. Always use the Free method to deallocate objects, because it verifies if object variable doesn´t contain the value nil.

Take the following precautions when creating your own Destroy method:

* Declare Destroy with the override directive, because it is a virtual method.

* Always call 'inherited Destroy;' as the last thing on the destructor code.

* An exception may be raised on the constructor in case there is not enought memory to create an object, or something else goes wrong. If the exception is not handled inside the constructor, the object will be only partially built. In this case Destroy will be called, so your destructor must check if the resources were really allocated before disposing of them.

* Remember to call Free for all objects created on the constructor.
A Button used to represent states (checked or not, etc)
The Speed Button is designed to automate a process when it is selected. An user pushes a button to start an action or set a mode.
When a user clicks on a SpeedButton focus is not shifted; a Speed Button never gets focus. The button may carry an descriptive glyph, and has a state (checked or not, etc)
The action executed when the user clicks the speedbutton.
If you assign an action from an ActionList to a TSpeedButton.Action the correspondig execute-method is assigned to the OnClick event of the SpeedButton. Assigning a action sets other properties of the button as well, like Enabled and Caption.
Is used to align the button to a border of a parent control.
Align is used to align a control to a border of a parent control, even if the parent control is resized.
Possible values fo Allign are:
alTop: Places the control at the top, using the full clientwidth of its parent control.
alBottom: Places the control at the bottom, using the full clientwidth of its parent control.
alLeft: Places the control at the left side of its parent and uses the available height between any top or bottom alligned controls.
alRight: Like alLeft but on the right side of the parent control.
alNone: The control can be placed anywhere on the parent control.
alClient: The control takes al available space on parent control next to controls aligned to the top, bottom, right or left.
Determines wether all speedbuttons in a group can be up.
SpeedButtons can be grouped by setting their GroupIndex. AllowAllUp specifies whether or not all SpeedButtons in this group can be unselected (all have the state Up). Changing this property for one SpeedButtons sets this for all SpeedButtons in the same group. A GroupIndex of 0 has no effect, that is AllowAllUp has no effect if GroupIndex is 0.
Sets the text displayed on the button.
Maintains the state of the button.
If the groupindex of a SpeedButton is unequal to 0, its state can be up or down. Use this properties to read or set the state of a speedbutton.
Determines if the button reacts to a click.
Setting this property determines if the control can be used. If Enabled is false a speedbutton cannot be clicked. Setting the Enabled property to false also makes its appearance grayed.
If an Action has been assigned to the speedbutton and this action is disabled then the enabled property is set to false as well.
Property to read and set the glyph.
Determines how a SpeedButton reacts when it is clicked.
If GroupIndex = 0, the speedbutton reacts like a ordinary push button. That is it appears down when the user clicks on it and it comes up again when the user releases the mouse button.

If GroupIndex > 0, the speedbuttons remains down after the user clicks on it, until it receives a second click.

If more SpeedButtons have the same GroupIndex the behave like a group. You can use SpeedButtons in a group to present mutually exclusive choices to the user. If the user clicks on a SpeedButton in a group, this SpeedButton gets the down state, returning all other buttons to the up state.
Determines the place of the glyph with respect to the caption.
Determines the place of the glyph with respect to the caption.
Possible values are:
blGlyphBottom: The glyph is shown under the caption.
blGlyphLeft: The glyph is shown left of the caption.
blGlyphRight: The glyph is shown right of the caption.
blGlyphTop: The glyph is shown above the caption.