Difference between revisions of "TextInputDialog:getInputType"

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