Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Number - tab of the PmgNumber object

Description:
Text properties.
Configuration items:
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 to this property and if this property is linked to the data binding PP, AP, SP, OP or GP, then the 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 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 Double or Long).

Integer - The Value property returns Long. The edited content of the value may be checked for lower and upper limits. See "Low limit" configurator and "High limit" configurator.
Real number - The Value property returns Double. The edited content of the value may be checked for lower and upper limits. See "Low limit" configurator and "High limit" configurator.
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 the decimal point always on the same position, use the horizontal alignment "Right" (you can add spaces at the and of the formula, to avoid placing the number too right).

None - The formatting is not used
C language formatting - C language syntax format. See C language string format specification.
Format formulaFormula according to the format type value.

Macro expression can be used for input (it is evaluated while the window is opening).

Type of editingIf editing is enabled in this configurator, then the object can be edited in runtime by pressing the Enter key or mouse doubleclick.
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 low limit and high limit.
Editing in auxiliary window - When editing the value, a new window is opened. The edited content of the value may be checked for low limit and high limit.
Low limitIf editing is enabled, then it is possible to require checking the entered value on the low limit entered here by checking the checkbox. By the attempt to enter a value outside the limits, an error message is displayed
High limitIf editing is enabled, then it is possible to require checking the entered value on the high 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 of the window title 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 Type of editing = Editing in auxiliary window.


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

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice