Difference between revisions of "TextInputDialog.new"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.8<br/> === Description === <br /> Creates a new `TextInputDialog` object.<br /> <br /> <source lang="lua"> = TextInputDialog.new...")
 
Line 6: Line 6:
 
  <br />
 
  <br />
 
<source lang="lua">
 
<source lang="lua">
= TextInputDialog.new(titlemessagetextcancelButtonbutton1button2,)
+
TextInputDialog.new(title,message,text,cancelButton,button1,button2)
 
</source>
 
</source>
'''title:''' (string)  ''''''<br/>
+
'''title''': (string)  ''''''<br/>
'''message:''' (string) Descriptive text that provides more details than the title. ''''''<br/>
+
'''message''': (string) Descriptive text that provides more details than the title. ''''''<br/>
'''text:''' (string) The text on the text field. ''''''<br/>
+
'''text''': (string) The text on the text field. ''''''<br/>
'''cancelButton:''' (string) The text of the cancel button. ''''''<br/>
+
'''cancelButton''': (string) The text of the cancel button. ''''''<br/>
'''button1:''' (string, optional) The text of the 1st optional button. ''''''<br/>
+
'''button1''': (string, optional) The text of the 1st optional button. ''''''<br/>
'''button2:''' (string, optional) The text of the 2st optional button. ''''''<br/>
+
'''button2''': (string, optional) The text of the 2st optional button. ''''''<br/>

Revision as of 10:17, 23 August 2018

Available since: Gideros 2012.8

Description


Creates a new `TextInputDialog` object.


 TextInputDialog.new(title,message,text,cancelButton,button1,button2)

'title: (string) '
'message: (string) Descriptive text that provides more details than the title. '
'text: (string) The text on the text field. '
'cancelButton: (string) The text of the cancel button. '
'button1: (string, optional) The text of the 1st optional button. '
'button2: (string, optional) The text of the 2st optional button. '