[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Horizontal alignment for the text displayed on the button control.
Source position: buttons.pp line 413
public property TCustomSpeedButton.Alignment : TAlignment |
Alignment is a TAlignment property with the horizontal alignment for the Caption displayed on the button control. Alignment is used (along with UseRightToLeftReading) in the MeasureDraw method to set the text flags needed to measure / draw the Caption> for the control.
The default value for the property is taCenter, and causes the Caption to be centered in the text area on the control. Use taLeft to left-align the Caption in the text area. Use taRight to right-align the Caption for the control. Changing the value for the property causes the control to be redrawn.
Set the value in ShowCaption to True to display the Caption for the control.
Use the Layout property to control the placement of the image relative to the text value displayed on the control.
Use the Align property to specify the side on the parent control to which the speed button is aligned, or to specify that custom Anchors are used for positioning and sizing.
|
Indicates the alignment of the glyph bitmap relative to the caption for the control. |
|
|
Calculates the Width, Height, and layout for the speed button and optionally renders the control. |
|
|
Indicates if the Caption for the speed button is displayed. |
|
|
Specifies the placement of the control on its Parent control. |
|
|
The set of anchor definitions for this control. |
|
|
The text displayed for the control. |
|
|
True when BiDiMode is not bdLeftToRight. |
|
Version 3.2 | Generated 2024-02-25 | Home |