Label

Label, in the bajaui palette, is used to display text and/or an icon. Labels are always transparent, so their background is defined by their parent. Their preferred size is always an exact fit to contain the text and/or icon. Labels may be used by themselves to display information which cannot respond to user input, or they may be embedded in widgets such as Buttons.

Figure 1. Label Property Sheet


You access these properties by expandingBajaui palette and double-click Label

PropertyValueDescription
Visibletrue (default) false
Sets the table to be visible in the Px page interface (true) or not (false).
Enabled (Px graphics)true or false
Determines if the table on a Px page can receive a command.

true configures the page to receive a command using a popup menu.

false renders the display visible but unable to receive a command.

Layoutadditional 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).
TexttextSpecify the text which should be there on the button.
ImageFile chooserSelect the image file with the help of file chooser.
Fontnull (default)Default font is selected as Null. uncheck the Null checkbox and customise the font needed on the button.
Foregrounddrop-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 a file chooser and ord chooser to select the image file.

Null indicates no foreground fill.
Backgrounddrop-down list
Specifies the 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 () to open the File Chooser, Ord Chooser, or other method of selecting an image file.

Null indicates no color (white).

Haligndrop-down list
Selects from among horizontal alignment options: Left, Center, Right, and Fill
ValignTop, Center (default), Right, Fill
Specifies how to vertically align the pane: Top, Center, Right, Fill
Text to Icon alignRight (default), Top, Bottom, Left, Center
Defines the alignment of the text in relationship to the icon: Right, Top, Bottom, Left, Center
Text Icon GapNumber
Defines the gap between the text and icon.
BlinkFalse (default) True
Configures the background color to blink (true) or not (false).
Word Wrap Enabled False (default) True
Allows a long word on a button to wrap (true) or prevents the word from wrapping (false).