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...") |
m (Text replacement - "<source" to "<syntaxhighlight") |
||
(21 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
'''Available since:''' Gideros 2012.8<br/> | '''Available since:''' Gideros 2012.8<br/> | ||
+ | '''Class:''' [[AlertDialog]]<br/> | ||
+ | |||
=== Description === | === Description === | ||
− | + | Creates a new AlertDialog object. | |
− | Creates a new | + | <br/> |
− | + | ||
− | < | + | <syntaxhighlight lang="lua"> |
− | + | AlertDialog.new(title,message,cancelButton,button1,button2) | |
− | </ | + | </syntaxhighlight> |
− | '''title | + | |
− | '''message | + | === Parameters === |
− | '''cancelButton | + | '''title''': (string) The string that appears in the receiver's title bar. Can be empty string. <br/> |
− | '''button1 | + | '''message''': (string) Descriptive text that provides more details than the title. Can be empty string. <br/> |
− | '''button2 | + | '''cancelButton''': (string) The text of the cancel button. <br/> |
+ | '''button1''': (string) The text of the 1st optional button. '''optional'''<br/> | ||
+ | '''button2''': (string) The text of the 2st optional button. '''optional'''<br/> | ||
+ | |||
+ | {{AlertDialog}} |
Latest revision as of 17:22, 12 July 2023
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