6. Creating and Using Basic Fields : Scalar Fields : Create a Button Field : Button Field Properties
 
Share this page                  
Button Field Properties
All the properties for button fields are described under Common Field Properties (see Common Field Properties), with the exception of the following properties that are specific to the 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.
Default: No Bitmap
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
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
TextLabel
Specifies the text for a button label
Default: “Button”