Difference between revisions of "TextInputDialog:setInputType"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2012.8<br/>
+
<languages />
=== Description ===
+
'''<translate>Available since</translate>:''' Gideros 2012.8<br/>
<translate><br />
+
'''<translate>Class</translate>:''' [[Special:MyLanguage/TextInputDialog|TextInputDialog]]<br/>
Sets the input (keyboard) type associated with the text field. The options are:<br />
+
 
<br />
+
=== <translate>Description</translate> ===
&lt;ul&gt;<br />
+
<translate>
&lt;li&gt;[[Special:MyLanguage/TextInputDialog.TEXT|TextInputDialog.TEXT]]: Default keyboard type&lt;/li&gt;<br />
+
Sets the input (keyboard) type associated with the text field. The options are:
&lt;li&gt;[[Special:MyLanguage/TextInputDialog.NUMBER|TextInputDialog.NUMBER]]: Numeric keypad&lt;/li&gt;<br />
+
<ul>
&lt;li&gt;[[Special:MyLanguage/TextInputDialog.PHONE|TextInputDialog.PHONE]]: Keypad designed for entering telephone numbers&lt;/li&gt;<br />
+
<li>[[Special:MyLanguage/TextInputDialog.TEXT|TextInputDialog.TEXT]]: Default keyboard type</li>
&lt;li&gt;[[Special:MyLanguage/TextInputDialog.EMAIL|TextInputDialog.EMAIL]]: Keyboard optimized for specifying email addresses&lt;/li&gt;<br />
+
<li>[[Special:MyLanguage/TextInputDialog.NUMBER|TextInputDialog.NUMBER]]: Numeric keypad</li>
&lt;li&gt;[[Special:MyLanguage/TextInputDialog.URL|TextInputDialog.URL]]: Keyboard optimized for URL entry&lt;/li&gt;<br />
+
<li>[[Special:MyLanguage/TextInputDialog.PHONE|TextInputDialog.PHONE]]: Keypad designed for entering telephone numbers</li>
&lt;/ul&gt;<br />
+
<li>[[Special:MyLanguage/TextInputDialog.EMAIL|TextInputDialog.EMAIL]]: Keyboard optimized for specifying email addresses</li>
<br /></translate>
+
<li>[[Special:MyLanguage/TextInputDialog.URL|TextInputDialog.URL]]: Keyboard optimized for URL entry</li>
<source lang="lua">
+
</ul>
TextInputDialog:setInputType(type)
+
</translate>
</source>
+
 
=== Parameters ===
+
 
 +
<syntaxhighlight lang="lua">
 +
TextInputDialog:setInputType(type)
 +
</syntaxhighlight>
 +
 
 +
=== <translate>Parameters</translate> ===
 
'''type''': (string) <translate>Tnput type associated with the text field.</translate> <br/>
 
'''type''': (string) <translate>Tnput type associated with the text field.</translate> <br/>
 +
 +
{{TextInputDialog}}

Latest revision as of 14:33, 13 July 2023


Available since: Gideros 2012.8
Class: TextInputDialog

Description

Sets the input (keyboard) type associated with the text field. The options are:


TextInputDialog:setInputType(type)

Parameters

type: (string) Tnput type associated with the text field.