Promotic

Number - tab of the PmgNumber object

Description:
Text properties.
Configurators:
Value
This configurator sets the initial value of the Value property.
Macro expression can be used for input ($.text ..) (it is evaluated while the window is opening).
If it is written into this property and if this property is linked to the data binding PP, AP, SP, OP or GP, then this value is transferred also into the source of this binding.
FontFont of the text.
This configurator sets the initial value of the FontId property.
ColorText color
Alignment horizontalHorizontal alignment of the text
Left
Center
Right
Alignment verticalVertical alignment of the text
Up
Center
Down
RotateText rotation (is only in PmgString, PmgNumber, PmgButton and PmgButtonState objects)
Do not rotate
Left - Text will be rotated 90 degrees counterclockwise
Down - Text will be rotated upside down
Right - Text will be rotated 90 degrees clockwise
Type of the text shadingSelection of the text shading type.
None - Text is not shaded
Right down - Text is shaded to the right bottom
Shading colorSelection of the color of the text shading
Data type of entered valueIt sets if checking of the data type is performed in the edit mode of the object, it can be set the check-up for entering the real or integer value (with spaces or without them). In the edit mode each character entered from the keyboard is checked whether it meets the setting of this property.
This configurator is used both for entered value checking and it affects the real data type of the value (i.e. the Value property returns a value of type Double or Long).
Integer - The Value property returns a value of type Long. The edited content of the value may be checked for lower and upper limits. See "Lower limit" configurator and "Upper limit" configurator.
Real number - The Value property returns a value of type Double. The edited content of the value may be checked for lower and upper limits. See "Lower limit" configurator and "Upper limit" configurator.
DateTime (date and time) - The Value property returns a value of type Double.
TimeSpan (time-range) - The Value property returns a value of type Double.
Value format typeIt is possible to enter simple formula for formatting. The more complex formula (e.g. for a multiple input) is entered by means of the "F - Data binding to the formatted string" data binding.
Tip: To display a number with fixed number of decimal places with a decimal point always on the same position, use the horizontal alignment "Right" (you can add spaces to the end of the formula, to avoid placing the number too right).
None - The formatting is not used
C language formatting - Formatting according to C language syntax. See C language formatting rule.
PmFormat - Formatting according to PmFormat syntax. See PmFormat object formatting string.
Format formulaFormatting rule according to the syntax of format type value.
Macro expression can be used for input (it is evaluated while the window is opening).
Editing typeIf editing is enabled in this configurator, then the object can be edited in runtime by pressing the Enter key or by left mouse button double-clicking.
Editing disabled - The value can be edited directly in this object. The edited content of the value is not being checked.
Editing on value location - The value can be edited directly in this object. The edited content of the value may be checked for lower limit and upper limit.
Editing in auxiliary window - When editing the value, a new window is opened. The edited content of the value may be checked for lower limit and upper limit.
Lower limitIf editing is enabled, then it is possible to require checking the entered value on the lower limit entered here by checking the checkbox. By the attempt to enter a value outside the limits, an error message is displayed
Upper limitIf editing is enabled, then it is possible to require checking the entered value on the upper limit entered here by checking the checkbox. By the attempt to enter a value outside the limits, an error message is displayed
Edit box titleText in the window title bar that is displayed for editing the value.
Macro expression can be used for input ($.text ..) (it is evaluated while the window is opening).
This configurator is visible only if Editing type = Editing in auxiliary window.

History:
Pm9.00.00: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.