6. Creating and Using Basic Fields : Scalar Fields : Create a Pop-up Button : Pop-up Button Properties
 
Share this page                  
Pop-up Button Properties
All the properties for pop-up buttons are described under Common Field Properties (see Common Field Properties), with the exception of the following properties that are specific to the pop-up button field type:
BitmapLabel
Specifies a file containing the image to be displayed as the button label. When you click this button, a standard File Selection dialog appears. Enter the directory path of the new image you want to use.
IsAutoSized
Specifies whether the button field is forced to ignore its Height and Width property values and resize itself to fit the current text label (in the current font). If the text is changed, the button is resized accordingly. Possible values are:
TRUE
Specifies that the field is auto-sized
FALSE
Specifies that the field uses its Height and Width property values
PopupAlignment
Specifies how the pop-up button's corresponding menu will be aligned relative to the button itself. Valid options are:
ALIGN_BOTTOM
ALIGN_CENTER
ALIGN_LEFT
ALIGN_RIGHT
ALIGN_TOP
Default: ALIGN_BOTTOM
TextAlignment
Specifies the alignment for a button's text label. Valid options are:
ALIGN_LEFT
ALIGN_RIGHT
ALIGN_TOP
ALIGN_BOTTOM
ALIGN_CENTER
Default: ALIGN_CENTER