Object PmgString (Text)

The object serves for displaying and editing text strings.

The object content can be linked up by a data binding in the "Value" configurator. Then the object displays the current value of any variable in the PROMOTIC system or the value of the common expression.

For displaying and entering the value a similar PmgWEdit object can be used (entering the value on the place in the object).

This object adopts properties and methods of the PmgPane object.
Properties and methods:
ColorText Text color
FontId Font identifier
Multiline Enable/disable displaying the text on more than one line
Value Displayed value
onDataEditAccept Is triggered after editing the object value is ended
onFocusIn Is triggered if the object receives focus
onFocusOut Is triggered if the object loses focus
onKeyPress Is triggered after pressing or releasing the key of the keyboard
onMenuFill Is triggered after pressing by the right mouse button over the Pmg object
onMenuSelect Is triggered on the selection of an item from the Pmg object local menu
onModeChange Is triggered when the Pmg object mode changes
onMousePress Is triggered after pressing or releasing the left mouse button
onRefresh Is triggered on the data refresh of the Pmg object
onStart Is triggered on the construction of the Pmg object in the course of opening the panel
onStop Is triggered on the destruction of the Pmg object in the course of closing the panel
Configuration tabs:
Object General information about the object
Content Content of the Pmg object in the XML form
Position Setting the position, width and height of the Pmg object
Variables List and configuration of user defined Pmg object variables
Events Algorithms definition for the object events
Methods Definition of designer's method of the Pmg object
Panel Setting the background area of the Pmg object
Text Text properties.

Pm9.00.00: Object name changed: PmiText -> PmgString
Pm8.03.23: Fixed bug: Editing in multirow mode.
Pm8.03.21: improved font smoothing for big fonts (greater than 100px).
Pm8.03.10: Is now functional also for German localization setting of the OS Windows (where the number contains separator of thousands "period").
Pm8.02.06: Direct editing is now available (similar as in the PmgWEdit object). Before, it was possible to edit the value only by opening an extra window. See the "Type of editing" configurator.
Pm8.01.05: in the Web panel the "Value format type" configurator sometimes did not work if set to format value of %f or %e.
Pm8.01.01: The Value property used to be of the String type, but now (according to the "Data type of entered value" configurator) returns the value of String, Integer or Float type. The old behavior can be activated in the "Always return String (obsolete)" configurator (the objects that are already existing will use the old setting so the behavior remains the same as before).
Pm8.01.00: new properties FontId and Multiline.
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