Difference between revisions of "TextInputDialog:setInputType"

 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2012.8<br/>
+
<languages />
=== Description ===
+
'''<translate>Available since</translate>:''' Gideros 2012.8<br/>
<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;`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;`TextInputDialog.NUMBER`: Numeric keypad&lt;/li&gt;<br />
+
<ul>
&lt;li&gt;`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;`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;`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 />
+
<li>[[Special:MyLanguage/TextInputDialog.URL|TextInputDialog.URL]]: Keyboard optimized for URL entry</li>
 +
</ul>
 +
</translate>
 +
 
 +
 
 
<source lang="lua">
 
<source lang="lua">
TextInputDialog:setInputType(type)
+
TextInputDialog:setInputType(type)
 
</source>
 
</source>
=== Parameters ===
+
 
'''type''': (string) Tnput type associated with the text field. <br/>
+
=== <translate>Parameters</translate> ===
 +
'''type''': (string) <translate>Tnput type associated with the text field.</translate> <br/>
 +
 
 +
{{TextInputDialog}}

Latest revision as of 02:55, 4 December 2019


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.