Difference between revisions of "TextInputDialog:getInputType"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 7: Line 7:
 
Returns the keyboard type associated with the text field.<br />
 
Returns the keyboard type associated with the text field.<br />
 
<br /></translate>
 
<br /></translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(string) = TextInputDialog:getInputType()
 
(string) = TextInputDialog:getInputType()
 
</source>
 
</source>

Revision as of 14:31, 13 July 2023


Available since: Gideros 2012.8
Class: TextInputDialog

Description


Returns the keyboard type associated with the text field.

<syntaxhighlight lang="lua"> (string) = TextInputDialog:getInputType() </source>

Return values

Returns (string) The keyboard type associated with the text field (TextInputDialog.EMAIL, TextInputDialog.NUMBER, TextInputDialog.PHONE, TextInputDialog.TEXT, TextInputDialog.URL)