TextInputDialog:setInputType: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 3: Line 3:
'''<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>Class</translate>:''' [[Special:MyLanguage/TextInputDialog|TextInputDialog]]<br/>
=== <translate>Description</translate> ===
=== <translate>Description</translate> ===
<translate><br />
<translate>
Sets the input (keyboard) type associated with the text field. The options are:<br />
Sets the input (keyboard) type associated with the text field. The options are:
<br />
<ul>
&lt;ul&gt;<br />
<li>[[Special:MyLanguage/TextInputDialog.TEXT|TextInputDialog.TEXT]]: Default keyboard type</li>
&lt;li&gt;[[Special:MyLanguage/TextInputDialog.TEXT|TextInputDialog.TEXT]]: Default keyboard type&lt;/li&gt;<br />
<li>[[Special:MyLanguage/TextInputDialog.NUMBER|TextInputDialog.NUMBER]]: Numeric keypad</li>
&lt;li&gt;[[Special:MyLanguage/TextInputDialog.NUMBER|TextInputDialog.NUMBER]]: Numeric keypad&lt;/li&gt;<br />
<li>[[Special:MyLanguage/TextInputDialog.PHONE|TextInputDialog.PHONE]]: Keypad designed for entering telephone numbers</li>
&lt;li&gt;[[Special:MyLanguage/TextInputDialog.PHONE|TextInputDialog.PHONE]]: Keypad designed for entering telephone numbers&lt;/li&gt;<br />
<li>[[Special:MyLanguage/TextInputDialog.EMAIL|TextInputDialog.EMAIL]]: Keyboard optimized for specifying email addresses</li>
&lt;li&gt;[[Special:MyLanguage/TextInputDialog.EMAIL|TextInputDialog.EMAIL]]: Keyboard optimized for specifying email addresses&lt;/li&gt;<br />
<li>[[Special:MyLanguage/TextInputDialog.URL|TextInputDialog.URL]]: Keyboard optimized for URL entry</li>
&lt;li&gt;[[Special:MyLanguage/TextInputDialog.URL|TextInputDialog.URL]]: Keyboard optimized for URL entry&lt;/li&gt;<br />
</ul>
&lt;/ul&gt;<br />
</translate>
<br /></translate>
 
 
<source lang="lua">
<source lang="lua">
TextInputDialog:setInputType(type)
TextInputDialog:setInputType(type)
</source>
</source>
=== <translate>Parameters</translate> ===
=== <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}}

Revision as of 00: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.