Difference between revisions of "TextInputDialog:setInputType"
From GiderosMobile
Line 6: | Line 6: | ||
<br /> | <br /> | ||
<ul><br /> | <ul><br /> | ||
− | <li> | + | <li>[[TextInputDialog.TEXT]]: Default keyboard type</li><br /> |
− | <li> | + | <li>[[TextInputDialog.NUMBER]]: Numeric keypad</li><br /> |
− | <li> | + | <li>[[TextInputDialog.PHONE]]: Keypad designed for entering telephone numbers</li><br /> |
− | <li> | + | <li>[[TextInputDialog.EMAIL]]: Keyboard optimized for specifying email addresses</li><br /> |
− | <li> | + | <li>[[TextInputDialog.URL]]: Keyboard optimized for URL entry</li><br /> |
</ul><br /> | </ul><br /> | ||
<br /></translate> | <br /></translate> |
Revision as of 13:55, 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)
Parameters
type: (string) Tnput type associated with the text field.