Component: Button ( Control): Difference between revisions
Appearance
No edit summary |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 5: | Line 5: | ||
|- | |- | ||
| width="20%" style="color:gray;" | Version | | width="20%" style="color:gray;" | Version | ||
| 0 | | 1.0 | ||
|- | |- | ||
| width="20%" style="color:gray;" | Category | | width="20%" style="color:gray;" | Category | ||
| Line 15: | Line 15: | ||
Creates a momentary or latching button. | Creates a momentary or latching button. | ||
==Version information== | |||
Library Version, Component Version, Date, Author, Info | |||
2, 1.0, 14-02-25, ST, Changed generated CSS to ensure disabled button has appropriate features | |||
==Detailed description== | ==Detailed description== | ||
| Line 27: | Line 29: | ||
==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] | |||
| Line 35: | Line 42: | ||
==Property reference== | ==Property reference== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Caption | ||
|- | |- | ||
|- | |- | ||
| Line 90: | Line 97: | ||
| colspan="2" | Make the caption text crossed-out | | colspan="2" | Make the caption text crossed-out | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Shape | ||
|- | |- | ||
|- | |- | ||
| Line 124: | Line 131: | ||
| colspan="2" | Specifies the fill colour of the shadow | | colspan="2" | Specifies the fill colour of the shadow | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Interaction | ||
|- | |- | ||
|- | |- | ||
| Line 158: | Line 165: | ||
| colspan="2" | The colour of the button when the user presses it | | colspan="2" | The colour of the button when the user presses it | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Advanced | ||
|- | |- | ||
|- | |- | ||
| Line 167: | Line 174: | ||
| colspan="2" | Text here will be added to the html tag of this component to allow advanced customisation | | colspan="2" | 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: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_WEBEXP_Button.fcsx FC_Comp_Source_WEBEXP_Button.fcsx] | |||
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_WEBEXP_Button.fcsx FC_Comp_Source_WEBEXP_Button.fcsx] | |||
Latest revision as of 14:37, 13 July 2026
| Author | MatrixTSL |
| Version | 1.0 |
| Category | Control |
Button component
Creates a momentary or latching button.
Version information
Library Version, Component Version, Date, Author, Info 2, 1.0, 14-02-25, ST, Changed generated CSS to ensure disabled button has appropriate features
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
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_WEBEXP_Button.fcsx
Please click here to view the component source code (Beta): FC_Comp_Source_WEBEXP_Button.fcsx