Difference between revisions of "TextInputDialog:setInputType"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''<translate>Available since</translate>:''' Gideros 2012.8<br/>
 
'''<translate>Available since</translate>:''' Gideros 2012.8<br/>
 +
'''<translate>Class</translate>:''' [[Special:MyLanguage/TextInputDialog|TextInputDialog]]<br/>
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
Line 6: Line 7:
 
<br />
 
<br />
 
&lt;ul&gt;<br />
 
&lt;ul&gt;<br />
&lt;li&gt;[[Special:MyLanguage/TextInputDialog.TEXT|TextInputDialog.TEXT]]: Default keyboard type&lt;/li&gt;<br />
+
&lt;li&gt;`TextInputDialog.TEXT`: Default keyboard type&lt;/li&gt;<br />
&lt;li&gt;[[Special:MyLanguage/TextInputDialog.NUMBER|TextInputDialog.NUMBER]]: Numeric keypad&lt;/li&gt;<br />
+
&lt;li&gt;`TextInputDialog.NUMBER`: Numeric keypad&lt;/li&gt;<br />
&lt;li&gt;[[Special:MyLanguage/TextInputDialog.PHONE|TextInputDialog.PHONE]]: Keypad designed for entering telephone numbers&lt;/li&gt;<br />
+
&lt;li&gt;`TextInputDialog.PHONE`: Keypad designed for entering telephone numbers&lt;/li&gt;<br />
&lt;li&gt;[[Special:MyLanguage/TextInputDialog.EMAIL|TextInputDialog.EMAIL]]: Keyboard optimized for specifying email addresses&lt;/li&gt;<br />
+
&lt;li&gt;`TextInputDialog.EMAIL`: Keyboard optimized for specifying email addresses&lt;/li&gt;<br />
&lt;li&gt;[[Special:MyLanguage/TextInputDialog.URL|TextInputDialog.URL]]: Keyboard optimized for URL entry&lt;/li&gt;<br />
+
&lt;li&gt;`TextInputDialog.URL`: Keyboard optimized for URL entry&lt;/li&gt;<br />
 
&lt;/ul&gt;<br />
 
&lt;/ul&gt;<br />
 
<br /></translate>
 
<br /></translate>

Revision as of 09:29, 24 August 2018

Available since: Gideros 2012.8
Class: TextInputDialog

Description


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

<ul>
<li>`TextInputDialog.TEXT`: Default keyboard type</li>
<li>`TextInputDialog.NUMBER`: Numeric keypad</li>
<li>`TextInputDialog.PHONE`: Keypad designed for entering telephone numbers</li>
<li>`TextInputDialog.EMAIL`: Keyboard optimized for specifying email addresses</li>
<li>`TextInputDialog.URL`: Keyboard optimized for URL entry</li>
</ul>

 TextInputDialog:setInputType(type)

Parameters

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