Component: Radio Button ( Control): Difference between revisions
Appearance
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"" |
|||
| Line 41: | Line 41: | ||
===GetState=== | ===GetState=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 55: | Line 55: | ||
===SetState=== | ===SetState=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 75: | Line 75: | ||
==Property reference== | ==Property reference== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | ||
Revision as of 14:15, 13 July 2026
| Author | MatrixTSL |
| Version | 1.3 |
| Category | Control |
Radio Button component
Creates a radio button item that can be grouped with other radio buttons to create a user selectable input.
Version information
Library Version, Component Version, Date, Author, Info 2, 1.1, 14-06-24, ST, Corrected the id tag of the html element 3, 1.2, 20-04-26, ST, Resizing no longer distorts the circle 4, 1.3, 16-06-26, ST, Text is now grey when disabled
Detailed description
No detailed description exists yet for this component
Examples
BasicControls example
This simple example shows how to use some basic controls in a Web Developer project.
The web app created by this example can be viewed here: BasicControls Example
Macro reference
GetState
| GetState | |
| Returns true if this radio button is currently selected | |
| Return | |
SetState
| SetState | |
| Sets this radio button to be selected or unselected | |
| bState | |
| The state to set this radio button to | |
| Return | |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_WEBEXP_Radio.fcsx
Please click here to view the component source code (Beta): FC_Comp_Source_WEBEXP_Radio.fcsx