Component: Number Pad (Digital Control ): Difference between revisions
Appearance
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead"" |
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"" |
||
| (One intermediate revision by the same user not shown) | |||
| Line 99: | Line 99: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ClearBuffer''' | ||
|- | |- | ||
| colspan="2" | Erases the contents of the buffer | | colspan="2" | Erases the contents of the buffer | ||
| Line 113: | Line 113: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetFloat''' | ||
|- | |- | ||
| colspan="2" | Attempts to parse a floating point number from the input string. | | colspan="2" | Attempts to parse a floating point number from the input string. | ||
| Line 132: | Line 132: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetInputString''' | ||
|- | |- | ||
| colspan="2" | Gets the contents of the text buffer. | | colspan="2" | Gets the contents of the text buffer. | ||
| Line 151: | Line 151: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetLastChar''' | ||
|- | |- | ||
| colspan="2" | Gets the last character of the text buffer. | | colspan="2" | Gets the last character of the text buffer. | ||
| Line 170: | Line 170: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetNumber''' | ||
|- | |- | ||
| colspan="2" | Attempts to parse a number from the input string | | colspan="2" | Attempts to parse a number from the input string | ||
| Line 189: | Line 189: | ||
{| class="mtx-class-macrotable 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''' | ||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:23, 13 July 2026
| Author | Matrix TSL |
| Version | 1.0 |
| Category | Digital Control |
Number Pad component
A numeric keypad component allowing user to enter numeric data using a mouse, touchscreen or keyboard. Contains a byffer and the ability to automatically call a user macro when data is entered.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_NumberPad.fcsx
Please click here to view the component source code (Beta): FC_Comp_Source_NumberPad.fcsx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
ClearBuffer
| ClearBuffer | |
| Erases the contents of the buffer | |
| Return | |
GetFloat
| GetFloat | |
| Attempts to parse a floating point number from the input string. | |
| ClearBuffer | |
| 0=Buffer remains, 1=Buffer is cleared | |
| Return | |
GetInputString
| GetInputString | |
| Gets the contents of the text buffer. | |
| ClearBuffer | |
| 0=Buffer remains, 1=Buffer is cleared | |
| Return | |
GetLastChar
| GetLastChar | |
| Gets the last character of the text buffer. | |
| ClearBuffer | |
| 0=Buffer remains, 1=Buffer is cleared | |
| Return | |
GetNumber
| GetNumber | |
| Attempts to parse a number from the input string | |
| ClearBuffer | |
| 0=Buffer remains, 1=Buffer is cleared | |
| Return | |
Property reference
| Properties | |
| Show Text Buffer | |
| Mouse Input | |
| Checks for mouse clicks on the NumberPad component | |
| Keyboard Input | |
| Automatically scans for keyboard presses | |
| Call Macro | |
| Theme | |