Button

Button, in the bajaui palette, is a control button which fires an action when clicked.
Figure 93.   Button Property Sheet
Image

You access these properties by expanding the Bajaui palette and double-clicking Button

Property Value Description
Visible true (default) false Sets the table to be visible in the Px page interface (true) or not (false).
Enabled true (default) false Activates (true) and deactivates (false) the object (network, device, point, component, table, schedule, descriptor, etc.).

When set to to true, the table you access button properties in the Px page interface using the popup menu. When set to false, the table is visible but its properties cannot be configured.

Layout additional properties Opens a layout window for specifying the size and location of the table in relation to its parent (X, Y coordinates, height and width).
Text text Specifies the text for the button.
Image File Chooser (defaults to null—no image) Selects the image file with the help of file chooser.
Font drop–down lists for font and point size with check boxes for attributes (defaults to Null/Default) Selects the font, point size and attributes for the button text. To configure, click to remove the Null/Default check box.
Foreground drop-down list Specifies foreground fill. Solid opens the color chooser window. Gradient opens the gradient editor window. Image opens the texture window, click the browser icon to open File chooser, ord chooser to select the image file. Null indicates no foreground fill.
Background drop-down list Specifies background fill color.

Solid opens the Color Chooser window.

Gradient opens the Gradient Editor window.

Image opens the Image Brush Editor window. Click the Browse icon (Image) to open the File Chooser, Ord Chooser, or other method of selecting an image file.

Null indicates no color (white).

Halign drop-down list (defaults to Center) Selects from among horizontal alignment options.
Valign drop-down list (defaults to Center) Selects from among vertical alignment options: Top, Center (default), Right, Fill
Text to Icon align drop-down list (defaults to Right) Defines the alignment of the text in relationship to the icon: Right, Top, Bottom, Left, Center
Text Icon Gap number Defines the gap between the text and icon.
Blink False (default) True Configures the background color to blink.
Word Wrap Enabled False (default) True Selects how to handle long words on buttons.

true wraps the word on the button.

false does not wrap.

Focus Traversable False True (default) Configures how this button responds when a user presses the Tab key in a Px view that contains the button.

true includes this button in the set of Mouse Down Buttons that can sequentially receive focus when the user presses Tab.

false disables focus for the button when the user presses Tab.

Button Style drop-down list (defaults to Normal) Selects the button style: Normal, Tool Bar, Hyperlink, None