Difference between revisions of "TextInputDialog:getInputType"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 9: Line 9:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
(string) = TextInputDialog:getInputType()
 
(string) = TextInputDialog:getInputType()
</source>
+
</syntaxhighlight>
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
 
'''<translate>Returns</translate>''' (string) <translate>The keyboard type associated with the text field (TextInputDialog.EMAIL, TextInputDialog.NUMBER, TextInputDialog.PHONE, TextInputDialog.TEXT, TextInputDialog.URL)</translate><br/>
 
'''<translate>Returns</translate>''' (string) <translate>The keyboard type associated with the text field (TextInputDialog.EMAIL, TextInputDialog.NUMBER, TextInputDialog.PHONE, TextInputDialog.TEXT, TextInputDialog.URL)</translate><br/>
  
 
{{TextInputDialog}}
 
{{TextInputDialog}}

Latest revision as of 15:33, 13 July 2023


Available since: Gideros 2012.8
Class: TextInputDialog

Description


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)