Difference between revisions of "TextInputDialog:setInputType"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2012.8<br/>
+
'''<translate>Available since</translate>:''' Gideros 2012.8<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
 
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 />
Line 16: Line 16:
 
  TextInputDialog:setInputType(type)
 
  TextInputDialog:setInputType(type)
 
</source>
 
</source>
=== Parameters ===
+
=== <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/>

Revision as of 08:28, 24 August 2018

Available since: Gideros 2012.8

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.