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
|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|
|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.|
: Object name changed: PmiText
: Fixed bug:
Editing in multirow mode.
: improved font smoothing for big fonts (greater than 100px).
: Is now functional also for German localization setting of the OS Windows
(where the number contains separator of thousands "period").
: 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
: 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
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).