Difference between revisions of "TextInputDialog:getInputType"

From GiderosMobile
m
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2012.8<br/>
+
'''Available since:''' Gideros 2012.8<br/>
=== <translate>Description</translate> ===
+
'''Class:''' [[TextInputDialog]]<br/>
<translate><br />
+
 
Returns the keyboard type associated with the text field.<br />
+
=== Description ===
<br /></translate>
+
Mostly used on mobile devices. Returns the keyboard type associated with the text field.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(string) = TextInputDialog:getInputType()
 
(string) = TextInputDialog:getInputType()
</source>
+
</syntaxhighlight>
=== <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/>
+
=== 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)