Numeric On-Screen Keyboard

Well, you can do something like this, although I’m with @PGriffith ( you should use a Numeric Text Field )
-On you Text Field, under Behavior go to TouchScreen Mode and select None.
-Then CTRL + J ( scripting ) on your Text Field
-Select MouseReleased and put this code:

initial_value = int(event.source.text)
font_size = 16
entered_number = system.gui.showNumericKeypad(initial_value,font_size)
event.source.text = str(entered_number)
1 Like