Back

CreateYesNoDialog

YesNoDialog creates a dialog with 'Yes' and 'No' buttons.

app.CreateYesNoDialog( message, options ) -> app object - YesNoDialog

The following methods are avaiable on the YesNoDialog object:

  Destroy()
  Dismiss()
  GetType() -> string - "YesNoDialog"
  Hide()
  Release()
  Show()
  id -> string - "#id"

unknown
number
set color effects
destroys object
hide dialog
Set visibility "Hide"
?
string -
  hexadecimal: "#rrggbb", "#aarrggbb"
  colourName: "red", "green", ...
changes the background color
string - path to file or folder ( "/absolute/..." or "relative/..." )
changes the background image
string
changes text of the two buttons
function( result )
called when user touches object with pressed button text as parameter
number - fraction of screen width
number - fraction of screen height
change object size
Set visibility "Show"
object id