Language Reference Guide : System Classes : PopupButton Class : PopupAlignment Attribute
 
Share this page          
PopupAlignment Attribute
Data Type: smallint
4GL Access: RW
The PopupAlignment attribute specifies how the associated OptionMenu will be aligned relative to the PopupButton.
Valid values are:
ALIGN_LEFT
Specifies that the right side of the option menu is aligned with the left side of the PopupButton
ALIGN_RIGHT
Specifies that the left side of the option menu is aligned with the right side of the PopupButton
ALIGN_TOP
Specifies that the top of the option menu is aligned with the top of the PopupButton
ALIGN_CENTER
Specifies that the right side of the option menu is aligned with the center of the PopupButton
ALIGN_BOTTOM
Specifies that the top of the option menu is aligned with the bottom of the PopupButton
Default: ALIGN_BOTTOM
Descriptions of system constant values and their numeric equivalents are listed in Text Alignment Settings for ButtonFields and PopUpButtons).