Difference between revisions of "AlertDialog.new"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.8<br/> === Description === <br /> Creates a new `AlertDialog` object.<br /> <br /> <source lang="lua"> = AlertDialog.new(titleme...")
 
Line 6: Line 6:
 
  <br />
 
  <br />
 
<source lang="lua">
 
<source lang="lua">
= AlertDialog.new(titlemessagecancelButtonbutton1button2,)
+
AlertDialog.new(title,message,cancelButton,button1,button2)
 
</source>
 
</source>
'''title:''' (string) The string that appears in the receiver&#039;s title bar. Can be empty string. ''''''<br/>
+
'''title''': (string) The string that appears in the receiver&#039;s title bar. Can be empty string. ''''''<br/>
'''message:''' (string) Descriptive text that provides more details than the title. Can be empty string. ''''''<br/>
+
'''message''': (string) Descriptive text that provides more details than the title. Can be empty string. ''''''<br/>
'''cancelButton:''' (string) The text of the cancel button. ''''''<br/>
+
'''cancelButton''': (string) The text of the cancel button. ''''''<br/>
'''button1:''' (string) The text of the 1st optional button. '''optional'''<br/>
+
'''button1''': (string) The text of the 1st optional button. '''optional'''<br/>
'''button2:''' (string) The text of the 2st optional button. '''optional'''<br/>
+
'''button2''': (string) The text of the 2st optional button. '''optional'''<br/>

Revision as of 11:17, 23 August 2018

Available since: Gideros 2012.8

Description


Creates a new `AlertDialog` object.


 AlertDialog.new(title,message,cancelButton,button1,button2)

'title: (string) The string that appears in the receiver's title bar. Can be empty string. '
'message: (string) Descriptive text that provides more details than the title. Can be empty string. '
'cancelButton: (string) The text of the cancel button. '
button1: (string) The text of the 1st optional button. optional
button2: (string) The text of the 2st optional button. optional