Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Edit - tab of the PmgWEdit object

Description:
Properties of the PmgWEdit object. There are also additional configurators on the tab Attributes.
Configuration items:
TextInitial value of the EditBox.

This configurator sets the initial value of the Value property.

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.

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

The new line is inserted after pressing the Ctrl+Enter key.

FontFont of the text.
Text colorColor of the object text.

This configurator sets the initial value of the ColorText property.

Background colorBackground color of the object.

This configurator sets the initial value of the ColorItem property.

AlignmentAlign type of the text. It is functional only if the "Multiline" configurator is checked.
left
Center
Right
BorderObject border type:
None - No border
Simple line - Simple border of the object
Static - Simple 3D border of the object
3D - Three dimensional border of the object
Modal - Modal border of the object
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). For string the entering is without limitation. 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 String, Double or Long).

Text string - The Value property returns String. The edited content of the value is not being checked.
Integer - The Value property returns Long. The edited content of the value may be checked for low limit and high limit. 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 low limit and high limit. See "Low limit" configurator and "High limit" configurator.
Always return String (obsolete)If checked, then the Value property will always return the String data type even if the numeric data type is set for entered value.
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.
None - The formatting is not used
C language formatting - C language format. See C language string format specification.
Format valuesFormatting according to the syntax of format type value.

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

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

This configurator is visible only if Data type of entered value = Integer or Real number.

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

This configurator is visible only if Data type of entered value = Integer or Real number.


History:
Pm9.00.00: The configurator Always return String is now considered obsolete.
Pm8.01.01: Added configurator Always return String.
PROMOTIC 9.0.12 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