Component: Combo Box ( Control)

From Flowcode Help
Revision as of 08:48, 21 June 2024 by Wiki bot (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Author MatrixTSL
Version 1.2
Category Control


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

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Macro reference

AddEntry

Fc9-comp-macro.png AddEntry
Adds a text entry to the combobox 
Fc9-string-icon.png - STRING NewEntry
The new text entry to add 
Fc9-void-icon.png - VOID Return


ClearEntries

Fc9-comp-macro.png ClearEntries
Clears the list of entries in the combobox 
Fc9-void-icon.png - VOID Return


GetSelectedIndex

Fc9-comp-macro.png GetSelectedIndex
Returns the index of the selected item 
Fc9-s16-icon.png - INT Return


GetSelectedText

Fc9-comp-macro.png GetSelectedText
Returns the text for the currently selected item 
Fc9-string-icon.png - STRING Return


Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png ComboBox
Fc9-type-11-icon.png Options
A list of choices available in the combobox 
Fc9-type-7-icon.png Type In
Set to allow the user to type directly into this combobox 
Fc9-type-21-icon.png Show Lines
If this is greater than 1, this many options will be shown as a selectable list 
Fc9-conn-icon.png Style
Fc9-type-3-icon.png Font
Specifies the font style for the item 
Fc9-type-21-icon.png Font Size
The font size in pixels 
Fc9-type-12-icon.png Horizontal Alignment
Aligns the caption text on the button 
Fc9-type-7-icon.png Bold
Make the caption text bold 
Fc9-type-7-icon.png Italic
Make the caption text italicised 
Fc9-type-7-icon.png Underline
Make the caption text underlined 
Fc9-type-7-icon.png Strikethrough
Make the caption text crossed-out 
Fc9-conn-icon.png Colour
Fc9-type-2-icon.png Text
Specifies the font colour for the item 
Fc9-type-2-icon.png Background
Specifies the background colour value 
Fc9-conn-icon.png Advanced
Fc9-type-10-icon.png Custom Attributes
Text here will be added to the html tag of this component to allow advanced customisation 

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