4. System Classes : ButtonField Class : TextAlignment Attribute
 
Share this page                  
TextAlignment Attribute
Data Type: smallint
4GL Access: RW
The TextAlignment attribute specifies the alignment of the button's text label.
Valid values are:
ALIGN_LEFT
ALIGN_RIGHT
ALIGN_TOP
ALIGN_CENTER
ALIGN_BOTTOM
Default: ALIGN_CENTER
This attribute has no effect if the BitmapLabel attribute is set.
Descriptions of system constant values and their numeric equivalents are listed in Text Alignment Settings for ButtonFields and PopUpButtons (see Text Alignment Settings for ButtonFields and PopUpButtons).