Jump to content

Component: Number Pad (Digital Control ): Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 17: Line 17:
==Component Source Code==
==Component Source Code==


Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_temp/NumberPad.fcsx FC_Comp_Source_temp/NumberPad.fcsx]
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_NumberPad.fcsx FC_Comp_Source_NumberPad.fcsx]


Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_temp/NumberPad.fcsx FC_Comp_Source_temp/NumberPad.fcsx]
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_NumberPad.fcsx FC_Comp_Source_NumberPad.fcsx]


==Detailed description==
==Detailed description==
Line 81: Line 81:


''<span style="color:red;">No additional examples</span>''
''<span style="color:red;">No additional examples</span>''





Revision as of 13:12, 7 February 2023

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 
- VOID Return


GetFloat

GetFloat
Attempts to parse a floating point number from the input string. 
- BYTE ClearBuffer
0=Buffer remains, 1=Buffer is cleared 
- FLOAT Return


GetInputString

GetInputString
Gets the contents of the text buffer. 
- BOOL ClearBuffer
0=Buffer remains, 1=Buffer is cleared 
- STRING Return


GetLastChar

GetLastChar
Gets the last character of the text buffer. 
- BOOL ClearBuffer
0=Buffer remains, 1=Buffer is cleared 
- BYTE Return


GetNumber

GetNumber
Attempts to parse a number from the input string 
- BOOL ClearBuffer
0=Buffer remains, 1=Buffer is cleared 
- LONG 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