Label element (Thmutil extension)
Defines a label.
Attributes
Center
yesnoSpecifies whether the text should be centered horizontally in the width of the control. Default is “no”.
DisablePrefix
yesnoBy default ampersands (&) in the text will underline the next character and treat it as an accelerator key. Set this attribute to “yes” to disable that behavior. Default is “no”.
EnableCondition
stringA condition that determines if the control is enabled. If this condition is true or omitted, then the control will be enabled.
FontId
stringNumeric identifier to the Font element that serves as the font for the control.
Height
integer requiredHeight of the control. Non-positive values extend the control to the bottom of the window minus the value. A zero value extends the control to the bottom of the window.
HexStyle
hexHexadecimal window style for the control.
HideWhenDisabled
yesnoSpecifies whether the control should be hidden when disabled.
Name
stringOptional name for the control.
If the ThmUtil variable callback system has been configured, such as by WixStandardBootstrapperApplication, ThmUtil uses the control name to find a matching variable name. ThmUtil retrieves the variable’s value to set the initial value of the control and sets the variable’s value when the user interacts with the control.
For example, a checkbox control is checked when the matching variable
has a nonzero value and unchecked for a value of 0
. When the user
checks a checkbox control, ThmUtil sets the variable value to a nonzero
value (currently 1
) and to 0
if the checkbox is unchecked.
An edit box control gets its initial value from a matching variable value. The control value is saved to the variable when navigating away from the page or when choosing a folder via an associated Browse button.
StringId
non-negative integerIdentifier that references a string resource in the module to define the text for the label.
TabStop
yesnoSpecifies whether the control is part of the tab sequence of controls.
Visible
yesnoSpecifies whether the control is initially visible.
VisibleCondition
stringA condition that determines if the control is visible. If this condition is true or omitted, then the control will be visible.
Width
integer requiredWidth of the control. Non-positive values extend the control to the right of the window minus the value. A zero value extends the control to the right of the window.
X
integer requiredX coordinate for the control from the left of the window. Negative values are coordinates from the right of the window minus the width of the control.
Y
integer requiredY coordinate for the control from the top of the window. Negative values are coordinates from the bottom of the window minus the height of the control.