Properties for Button controls in DataWindow objects

An x in the M (Modify) column means you can change the property. When (exp) is included in the description, you can specify a DataWindow expression as the value for that property.

Property for a Button

M

Description

AccessibleDescription

x

A description of the control for use by assistive technology tools.

AccessibleName

x

A descriptive label for the control.

AccessibleRole

A description of the kind of user-interface element that the control is.

Background.property

x

Background settings for the button.

Color

x

(exp) The text color.

DefaultPicture

x

Whether or not the action’s default picture is to be used on the button (user-defined action has no default picture).

Enabled

x

(exp) Determines whether a button control on a DataWindow is enabled.

Filename

x

(exp) Name of the file containing the picture to be used on the button (if not specified, just the text is used).

Font.property

x

(exp) Font settings for the text.

HTextAlign

x

(exp) How the text in the button is horizontally aligned. Values are: 0 (center), 1 (left), 2 (right).

Height

x

(exp) The height of the button control.

HideSnaked

x

Whether the button control appears once per page when printing newspaper columns.

Moveable

x

Whether the user can move the button control.

Name

The name of the button control.

OriginalSize

x

Whether the button image is shown in its original size.

Pointer

x

(exp) The pointer image when it is over the button control.

Resizeable

x

Whether the user can resize the button control.

SlideLeft

x

(exp) Whether the button control moves left to fill in empty space.

SlideUp

x

(exp) How the button control moves up to fill in empty space.

SuppressEventProcessing

x

Whether or not ButtonClicked and ButtonClicking events are fired for this particular button.

TabSequence

x

The position of the button in the tab order.

Tag

x

(exp) The tag text for the button control.

Text

x

(exp) The displayed text.

Type

The control’s type, which is button.

VTextAlign

x

(exp) How the text in the button is vertically aligned. Values are: 0 (center), 1 (top), 2 (bottom), 3 (multiline).

Visible

x

(exp) Whether the button control is visible.

Width

x

(exp) The width of the button control.

X

x

(exp) The x coordinate of the button control.

Y

x

(exp) The y coordinate of the button control.