Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Combo - page of item PmiWCombo

Description:
PmiWCombo item attributes. There are also additional configurators on the page Attributes.
Configuration items:
Text colorText color of the item.

This configurator sets the initial value of the property ColorText.

Background colorBackground color of the item.

This configurator sets the initial value of the property ColorItem.

FontFont of the text.
Where to writeSelected value.

This configurator sets the initial value of the property SelectedText, SelectedIndex or SelectedValue (according to the What to write configurator settings).

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.

What to writeType of the written information into the data binding of the "Where to write" configurator.
Text - Selected visible text.

This configurator sets the initial value of the property SelectedText.

Index - Index of the selected row from the menu (0=first row in the menu).

This configurator sets the initial value of the property SelectedIndex.

Value - Invisible value connected with selected visible text. If there is the string value=text in the Options configurator, then ComboBox returns the corresponding string before the char =, namely value.

This configurator sets the initial value of the property SelectedValue.

TypeType of the shape and the work with the ComboBox in the running application. It can be modified only if the What to write = Text, otherwise always set to "Only selection".
Simple - The ComboBox displays the list. Any values can be entered. This option is obsolete and it isn't enabled in new items.
Selection and edit - The ComboBox hides the list that can be then opened by the mouse or the Alt+Down keys. Any values can be entered. This option is not functional for Web Panels yet.
Only selection (default) - The ComboBox hides the list that can be then opened by the mouse or the Alt+Down keys. Only values from the list can be entered.
OptionsPre-defined list of options. Texts of options from the list can be read by the Options property, the list can be modified by the AddOption and RemoveOptions methods.

Each option is on separate row in the following syntax: value=text where value represents the hidden value of the option (identifier), text represents the displayed text of the option itself.

Example of the settings for 2 options:

t1=Valve opening
t2=Valve closing
 
The displayed text can be set in the form of Macro expression $.text (suitable, for example, for various language versions). Then the same example could look like this:
t1=$.text('app','ValveOpen')
t2=$.text('app','ValveClose')
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