Difference between revisions of "TextInputDialog:getInputType"
From GiderosMobile
m |
|||
Line 4: | Line 4: | ||
=== Description === | === Description === | ||
− | Returns the keyboard type associated with the text field. | + | Mostly used on mobile devices. Returns the keyboard type associated with the text field. |
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
(string) = TextInputDialog:getInputType() | (string) = TextInputDialog:getInputType() | ||
Line 10: | Line 10: | ||
=== Return values === | === Return values === | ||
− | '''Returns''' (string) the keyboard type associated with the text field (TextInputDialog.EMAIL, TextInputDialog.NUMBER, TextInputDialog.PHONE, TextInputDialog.TEXT, TextInputDialog.URL)<br/> | + | '''Returns''' (string) the keyboard type associated with the text field ('''TextInputDialog.EMAIL''', '''TextInputDialog.NUMBER''', '''TextInputDialog.PHONE''', '''TextInputDialog.TEXT''', '''TextInputDialog.URL''')<br/> |
{{TextInputDialog}} | {{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)