Component: Number Pad (Digital Control )
From Flowcode Help
Jump to navigationJump to search| Author | Matrix TSL |
| Version | 1.0 |
| Category | Digital Control |
Contents
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
| GetInputString | |
| Gets the contents of the text buffer. | |
| ClearBuffer | |
| 0=Buffer remains, 1=Buffer is cleared | |
| Return | |
| GetNumber | |
| Attempts to parse a number from the input string | |
| ClearBuffer | |
| 0=Buffer remains, 1=Buffer is cleared | |
| Return | |
| GetFloat | |
| Attempts to parse a floating point number from the input string. | |
| ClearBuffer | |
| 0=Buffer remains, 1=Buffer is cleared | |
| Return | |
| GetLastChar | |
| Gets the last character of the text buffer. | |
| ClearBuffer | |
| 0=Buffer remains, 1=Buffer is cleared | |
| Return | |
| ClearBuffer | |
| Erases the contents of the buffer | |
| 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 | |
==Macro reference==
| GetInputString | |
| Gets the contents of the text buffer. | |
| ClearBuffer | |
| 0=Buffer remains, 1=Buffer is cleared | |
| Return | |
| GetNumber | |
| Attempts to parse a number from the input string | |
| ClearBuffer | |
| 0=Buffer remains, 1=Buffer is cleared | |
| Return | |
| GetFloat | |
| Attempts to parse a floating point number from the input string. | |
| ClearBuffer | |
| 0=Buffer remains, 1=Buffer is cleared | |
| Return | |
| GetLastChar | |
| Gets the last character of the text buffer. | |
| ClearBuffer | |
| 0=Buffer remains, 1=Buffer is cleared | |
| Return | |
| ClearBuffer | |
| Erases the contents of the buffer | |
| 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 | |
==Macro reference==
| GetInputString | |
| Gets the contents of the text buffer. | |
| ClearBuffer | |
| 0=Buffer remains, 1=Buffer is cleared | |
| Return | |
| GetNumber | |
| Attempts to parse a number from the input string | |
| ClearBuffer | |
| 0=Buffer remains, 1=Buffer is cleared | |
| Return | |
| GetFloat | |
| Attempts to parse a floating point number from the input string. | |
| ClearBuffer | |
| 0=Buffer remains, 1=Buffer is cleared | |
| Return | |
| GetLastChar | |
| Gets the last character of the text buffer. | |
| ClearBuffer | |
| 0=Buffer remains, 1=Buffer is cleared | |
| Return | |
| ClearBuffer | |
| Erases the contents of the buffer | |
| 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 | |