Difference between revisions of "TextInputDialog:setInputType"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 19: | Line 19: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
TextInputDialog:setInputType(type) | TextInputDialog:setInputType(type) | ||
− | </ | + | </syntaxhighlight> |
=== <translate>Parameters</translate> === | === <translate>Parameters</translate> === |
Revision as of 14:33, 13 July 2023
Available since: Gideros 2012.8
Class: TextInputDialog
Description
Sets the input (keyboard) type associated with the text field. The options are:
- TextInputDialog.TEXT: Default keyboard type
- TextInputDialog.NUMBER: Numeric keypad
- TextInputDialog.PHONE: Keypad designed for entering telephone numbers
- TextInputDialog.EMAIL: Keyboard optimized for specifying email addresses
- TextInputDialog.URL: Keyboard optimized for URL entry
TextInputDialog:setInputType(type)
Parameters
type: (string) Tnput type associated with the text field.