Difference between revisions of "AlertDialog.new"

From GiderosMobile
(creating category test)
(prefixindex)
Line 20: Line 20:
 
'''button1''': (string) <translate>The text of the 1st optional button.</translate> '''optional'''<br/>
 
'''button1''': (string) <translate>The text of the 1st optional button.</translate> '''optional'''<br/>
 
'''button2''': (string) <translate>The text of the 2st optional button.</translate> '''optional'''<br/>
 
'''button2''': (string) <translate>The text of the 2st optional button.</translate> '''optional'''<br/>
<br/>
 
 
<br/>
 
<br/>
  
 
+
{{Special:PrefixIndex/AlertDialog}}
[[Category:AlertDialog]]
 

Revision as of 10:45, 2 December 2019



Available since: Gideros 2012.8
Class: AlertDialog

Description

Creates a new AlertDialog object.

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

Parameters

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