Difference between revisions of "Component: Combo Box ( Control)"
From Flowcode Help
Jump to navigationJump to search| (One intermediate revision by one other user not shown) | |||
| Line 5: | Line 5: | ||
|- | |- | ||
| width="20%" style="color:gray;" | Version | | width="20%" style="color:gray;" | Version | ||
| − | | 1. | + | | 1.4 |
|- | |- | ||
| width="20%" style="color:gray;" | Category | | width="20%" style="color:gray;" | Category | ||
| Line 21: | Line 21: | ||
4, 1.2, 18-06-24, ST, Added macros to clear and set entries and fixed TypeIn version | 4, 1.2, 18-06-24, ST, Added macros to clear and set entries and fixed TypeIn version | ||
5, 1.3, 02-02-26, ST, Added SetSelectedIndex macro | 5, 1.3, 02-02-26, ST, Added SetSelectedIndex macro | ||
| + | 6, 1.4, 16-06-26, ST, Fix for SplitString change in v11.0.2 | ||
==Detailed description== | ==Detailed description== | ||
''No detailed description exists yet for this component'' | ''No detailed description exists yet for this component'' | ||
| + | |||
==Examples== | ==Examples== | ||
| − | + | ===BasicControls example=== | |
| + | This simple example shows how to sue some basic controls in a Web Developer project. | ||
| + | |||
| + | {{Fcfile|BasicControls.fcweb|BasicControls.fcweb}} | ||
| + | The web app created by this example can be viewed here: [https://www.flowcode.co.uk/example/WebComps/BasicControls.html BasicControls Example] | ||
Latest revision as of 16:45, 25 June 2026
| Author | MatrixTSL |
| Version | 1.4 |
| Category | Control |
Contents
Combo Box component
Creates a user selectable combo box for selecting between various options.
Version information
Library Version, Component Version, Date, Author, Info 3, 1.1, 14-06-24, ST, Corrected the select element id tag, and fixed SplitString use 4, 1.2, 18-06-24, ST, Added macros to clear and set entries and fixed TypeIn version 5, 1.3, 02-02-26, ST, Added SetSelectedIndex macro 6, 1.4, 16-06-26, ST, Fix for SplitString change in v11.0.2
Detailed description
No detailed description exists yet for this component
Examples
BasicControls example
This simple example shows how to sue some basic controls in a Web Developer project.
The web app created by this example can be viewed here: BasicControls Example
Macro reference
AddEntry
| AddEntry | |
| Adds a text entry to the combobox | |
| NewEntry | |
| The new text entry to add | |
| Return | |
ClearEntries
| ClearEntries | |
| Clears the list of entries in the combobox | |
| Return | |
GetSelectedIndex
| GetSelectedIndex | |
| Returns the index of the selected item | |
| Return | |
GetSelectedText
| GetSelectedText | |
| Returns the text for the currently selected item | |
| Return | |
SetSelectedIndex
| SetSelectedIndex | |
| Sets the index of the selected item | |
| idx | |
| The item to select | |
| Return | |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_WEBEXP_ComboBox.fcsx
Please click here to view the component source code (Beta): FC_Comp_Source_WEBEXP_ComboBox.fcsx