Component: Input Text ( Control): Difference between revisions
Appearance
m Text replacement - "style="background-color:#EAE1EA; color:#4B008D;"" to "class="mtx-class-propfolder"" |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| Line 148: | Line 148: | ||
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" class="mtx-class-propfolder" | Text | | width="90%" class="mtx-class-propfolder" | Text | ||
|- | |- | ||
| Line 172: | Line 172: | ||
| colspan="2" | The maximum number of characters | | colspan="2" | The maximum number of characters | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" class="mtx-class-propfolder" | Style | | width="90%" class="mtx-class-propfolder" | Style | ||
|- | |- | ||
| Line 211: | Line 211: | ||
| 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%" class="mtx-class-propfolder" | Colour | | width="90%" class="mtx-class-propfolder" | Colour | ||
|- | |- | ||
| Line 225: | Line 225: | ||
| colspan="2" | Specifies the background colour value | | colspan="2" | Specifies the background colour value | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" class="mtx-class-propfolder" | Advanced | | width="90%" class="mtx-class-propfolder" | Advanced | ||
|- | |- | ||
Latest revision as of 14:37, 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