Difference between revisions of "TextInputDialog:getInputType"
From GiderosMobile
m  | 
				|||
| (9 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__  | __NOTOC__  | ||
'''Available since:''' Gideros 2012.8<br/>  | '''Available since:''' Gideros 2012.8<br/>  | ||
| + | '''Class:''' [[TextInputDialog]]<br/>  | ||
| + | |||
=== Description ===  | === Description ===  | ||
| − | + | Mostly used on mobile devices. Returns the keyboard type associated with the text field.  | |
| − | Returns the keyboard type associated with the text field.  | + | <syntaxhighlight lang="lua">  | 
| − | |||
| − | <  | ||
(string) = TextInputDialog:getInputType()  | (string) = TextInputDialog:getInputType()  | ||
| − | </  | + | </syntaxhighlight>  | 
| − | '''Returns''' (string)   | + | |
| + | === Return values ===  | ||
| + | '''Returns''' (string) the keyboard type associated with the text field ('''TextInputDialog.EMAIL''', '''TextInputDialog.NUMBER''', '''TextInputDialog.PHONE''', '''TextInputDialog.TEXT''', '''TextInputDialog.URL''')<br/>  | ||
| + | |||
| + | {{TextInputDialog}}  | ||
Latest revision as of 20:47, 4 November 2024
Available since: Gideros 2012.8
Class: TextInputDialog
Description
Mostly used on mobile devices. Returns the keyboard type associated with the text field.
(string) = TextInputDialog:getInputType()
Return values
Returns (string) the keyboard type associated with the text field (TextInputDialog.EMAIL, TextInputDialog.NUMBER, TextInputDialog.PHONE, TextInputDialog.TEXT, TextInputDialog.URL)