Component: Input Text ( Control): Difference between revisions
Appearance
added example |
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"" |
||
| Line 42: | Line 42: | ||
===GetFloat=== | ===GetFloat=== | ||
{| 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 56: | Line 56: | ||
===GetText=== | ===GetText=== | ||
{| 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 70: | Line 70: | ||
===GetValue=== | ===GetValue=== | ||
{| 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 84: | Line 84: | ||
===SetFloat=== | ===SetFloat=== | ||
{| 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 103: | Line 103: | ||
===SetText=== | ===SetText=== | ||
{| 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 122: | Line 122: | ||
===SetValue=== | ===SetValue=== | ||
{| 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 142: | Line 142: | ||
==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.0 |
| Category | Control |
Input Text component
Creates a text field that can be highlighted and edited by the user.
Version information
Library Version, Component Version, Date, Author, Info 2, 0.1, 27-01-25, BR, Added extra macros to set and get the value 3, 1.0, 14-02-25, ST, Changed generated CSS to ensure disabled control has grey text
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
GetFloat
| GetFloat | |
| Returns the floating point numeric value entered into the text field | |
| Return | |
GetText
| GetText | |
| Returns the text currently entered into this text field | |
| Return | |
GetValue
| GetValue | |
| Returns the numeric value entered into the text field | |
| Return | |
SetFloat
| SetFloat | |
| Sets the numeric floating point value displayed in this text field | |
| Value | |
| float value to set | |
| Return | |
SetText
| SetText | |
| Sets the text displayed in this text field | |
| sText | |
| Text to set | |
| Return | |
SetValue
| SetValue | |
| Sets the numeric value displayed in this text field | |
| Value | |
| integer value to set | |
| Return | |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_WEBEXP_InputText.fcsx
Please click here to view the component source code (Beta): FC_Comp_Source_WEBEXP_InputText.fcsx