TextControl
Overview
Text Control
Discussion
The Text Inspector Control is used to display a static text. It can be used to document the subsystem and the inspectors in the panel.
Variables
Properties
Name | Type | Default value | Range | Description |
caption | string | text | Unresctricted | The text that should be displayed |
align | enum | center | left/center/right | Alignment of the text in the inspector |
color.text | int | 000000 | 0:1:ffffff | Color of the text |
font.name | string | 'MS Shell Dlg 2' | Unrestricted | Any available Windows font may be used. All text in the inspector uses the same font |
font.size | int | 14 | 6:1:72 | Size in points to use for the font. If the font is too large for the space available, the text will be clipped |
font.style | string | normal | normal/bold/italic | Available styles are normal italic and bold |
multiline | int | 0 | 0:1:1 | When set, supports multiple lines of text. valign is ignored when this is set. Escape character slash n must be used for newline |
valign | enum | center | top/center/bottom | Specifies the vertical text alignment. Ignored if multiline is set |
voffs | int | 0 | 0:1:50 | Amount in DPI independent units to offset the text vertically |
border | int | 0 | 0:1:1 | When true, the surrounding border is turned on |
color.bgnd | int | f0f0f0 | 0:1:ffffff | Color of the inspector background |
color.border | int | b4b4b4 | 0:1:ffffff | Color of the inspector border, if shown |
height | int | 70 | Unrestricted | Height in DPI independent units |
width | int | 69 | 20:500 | Width in DPI independent units |
x | int | none | Unrestricted | Horizontal position of top left in DPI independent units |
y | int | none | Unrestricted | Vertical position of top left in DPI independent units |