Difference between revisions of "TextInputDialog.new"
From GiderosMobile
(removed language stuff) |
m (Text replacement - "<source" to "<syntaxhighlight") |
||
Line 5: | Line 5: | ||
=== Description === | === Description === | ||
Creates a new '''TextInputDialog''' object. | Creates a new '''TextInputDialog''' object. | ||
− | < | + | <syntaxhighlight lang="lua"> |
TextInputDialog.new(title,message,text,cancelButton,button1,button2) | TextInputDialog.new(title,message,text,cancelButton,button1,button2) | ||
</source> | </source> |
Revision as of 14:31, 13 July 2023
Available since: Gideros 2012.8
Class: TextInputDialog
Description
Creates a new TextInputDialog object. <syntaxhighlight lang="lua"> TextInputDialog.new(title,message,text,cancelButton,button1,button2) </source>
Parameters
title: (string) the title
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 2nd optional button