Difference between revisions of "TextInputDialog:setInputType"

(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.8<br/> === Description === <br /> Sets the input (keyboard) type associated with the text field. The options are:<br /> <br /> &l...")
 
Line 14: Line 14:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
= TextInputDialog:setInputType(type,)
+
TextInputDialog:setInputType(type)
 
</source>
 
</source>
'''type:''' (string) Tnput type associated with the text field. ''''''<br/>
+
'''type''': (string) Tnput type associated with the text field. ''''''<br/>

Revision as of 11:21, 23 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)

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