Text color | Text color of the object.
This configurator sets the initial value of the ColorText property. |
---|---|
Background color | Background color of the object.
This configurator sets the initial value of the ColorItem property. |
Font | Font of the text. |
The selected value is | Type of the written information into the data binding of the "Selected value" configurator.
Text - Selected visible text.
This configurator sets the initial value of the SelectedText property. Index - Index of the selected row from the menu (0=first row in the menu).
This configurator sets the initial value of the SelectedIndex property. 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 =, i.e. value.
This configurator sets the initial value of the SelectedValue property. |
Selected value | Selected value.
This configurator sets the initial value of the property SelectedText, SelectedIndex and SelectedValue (according to setting the "The selected value is" configurator). If it is written into this property and if this property is linked to the data binding PP, AP, SP, OP or GP, then this value is transferred also into the source of this data binding. |
Type | Type of the shape and the work with the ComboBox in the running application. It can be modified only if the "The selected value is" configurator is set to Text, otherwise is 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 objects.
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 PmgWCombo 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. |
Options | Pre-defined list of options. Texts of options from the list can be read by the Options method, the list can be modified by methods AddOption and RemoveOptions.
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.
The example of the settings for 2 options: t1=Open valve t2=Close valve 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 as follows: t1=$.text('app','ValveOpen') t2=$.text('app','ValveClose') |