Label
A label is a display area for a short text string, which doesn't react to input events and thus may not get keyboard focus. |
This is what labels looks like:
Common Properties
Width, Height, Bindings, Enabled, Visible, Foreground, Background, Opaque, Border, Font, Cursor, Tooltip, Focusable, Popup Menu
Custom Properties
Text
Text of label message.
Property name: text
Property type: String
![]() | In addition to HTML area component, label may also show simple HTML text that must start with |
Alignment
Horizontal alignment of text within label display area.
Possible values:
Description | Value |
Left | 2 |
Center | 0 |
Right | 4 |
Property name: horizontalAlignment
Property type: Integer
Vertical Alignment
Vertical alignment of text within label display area. Top, Center or Bottom.
Possible values:
Description | Value |
Top | 1 |
Center | 0 |
Bottom | 3 |
Property name: verticalAlignment
Property type: Integer
Icon
Image shown on the label. If NULL, no image will be displayed.
Property name: icon
Property type: Data Block
Icon Text Gap
Defines the space between the text and the icon.
Property name: iconTextGap
Property type: Integer
Disabled Icon
The image shown on the label when the label is disabled. If NULL, the Disabled Icon will be auto-generated from a normal Icon.
Property name: disabledIcon
Property type: Data Block
Common Events
Hidden, Shown, Moved, Resized, Mouse Clicked, Mouse Pressed, Mouse Released, Mouse Entered, Mouse Exited, Mouse Moved, Mouse Wheel Moved, Key Typed, Key Pressed, Key Released, Focus Gained, Focus Lost
Was this page helpful?