Promotic

State - tab of the PmgButtonState object

Description:
Button properties in the state 0 or 1. There are also additional configurators on the tab Button.
Configurators:
Text
This configurator sets the initial value of the property Text or Text1.
Macro expression can be used for input ($.text ..) (it is evaluated while the window is opening).
FontFont of the text.
ColorText color
This configurator sets the initial value of the property ColorText or ColorText1.
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
Picture fileFile with a picture (svg, jpg, png, bmp, wmf..) that will be drawn on the button. by means of the "T - Data binding to calculation based on a table of values" data binding it is possible to change the image depending on the state of pressing the button (see the StateEx property).
This configurator sets the initial value of the ImageSrc property.
It is recommended to always use the path with #pmres: or #appres:.
Macro expression can be used for input (it is evaluated while the window is opening).
Show imagePositioning of the image in the button:
spread on all area - The image will be stretched over the whole button area.
as a wallpaper - The image will be repeated over the whole button area.
left from text - The image will be located as icon to the left of the text. The location of the image and text block in the button is based on the text alignment setting.
right from text - The image will be located as icon to the right of the text. The location of the image and text block in the button is based on the text alignment setting.
above the text - The image will be located as icon above the text. The location of the image and text block in the button is based on the text alignment setting.
below the text - The image will be located as icon below the text. The location of the image and text block in the button is based on the text alignment setting.
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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