Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Button - page of item PmiButton

Description:
Button properties.
Configuration items:
'onButtonUp' event is always firedIf not set, the onButtonUp event fires when the button is pressed by the keyboard or when it is pressed by the mouse and the mouse button is released over the button (if the mouse button is released outside the area of the button-graphic item, then the onButtonUp event is not fired).

If set, the event fires always regardless of the position where the mouse button is released.

Multiline textIf checked, then the text uses the line breaks. In this case the New line is entered by the key combination of Ctrl+Enter.
Change gradient direction when pressedIf checked, the gradient direction is changed when the button is pressed. The Gradient configurator must be checked in this case.
Flat viewIf checked, the button is displayed normally without the outline and shading (no 3D effect). If the mouse cursor passes over the putton (in runtime), then the 3D effects are displayed. The 3D effects dissapear as the mouse cursor leaves the button area.
TextConfigurator for setting the text.

This configurator sets the initial value of the property Value and FontId.

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

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.

FontFont of the text.
ColorText color
Horizontal alignmentHorizontal alignment of the text
Left
Center
Right
Vertical alignmentVertical alignment of the text
Up
Center
Down
RotateText rotation (is only in PmiText, PmiButton and PmiButtonTwo item)
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 - Binding to calculation based on a table of values data binding it is possible to change the picture depending on the state of pressing the button (see StateEx).

This configurator sets the initial value of the property ImageSrc.

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 picturePositioning the picture in the button:
spread on all area - The picture will be stretched over the whole button area.
as a wallpaper - The picture will be repeated over the whole button area.
left from text - The picture 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 picture 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 picture 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 picture will be located as icon below the text. The location of the image and text block is based on the text alignment setting.
Buttons on the right side of the configuration window of each item:
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice