Difference between revisions of "TextInputDialog:getInputType"

From GiderosMobile
m
 
(5 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>Class</translate>:''' [[Special:MyLanguage/TextInputDialog|TextInputDialog]]<br/>
+
'''Class:''' [[TextInputDialog]]<br/>
=== <translate>Description</translate> ===
+
 
<translate><br />
+
=== Description ===
Returns the keyboard type associated with the text field.<br />
+
Mostly used on mobile devices. Returns the keyboard type associated with the text field.
<br /></translate>
+
<syntaxhighlight lang="lua">
<source 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)