Promotic
WikipediaLinkedInYoutubeTwitterFacebook

State - tab of the PmgButtonState object

Description:
Button properties in the state 0 or 1. There are also additional configurators on the tab Button.
Configuration items:
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 StateEx).

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 the picture 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 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 is based on the text alignment setting.
top from text - The image will be located as icon above the text. The location of the image and text block is based on the text alignment setting.
bottom from text - The image will be located as icon below the text. The location of the image and text block is based on the text alignment setting.
PROMOTIC 9.0.14 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