Back

CreateYesNoDialog

Returns a YesNoDialog object.

  ynd = app.CreateYesNoDialog( message, options ) → app object - YesNoDialog

The following methods are available on the YesNoDialog object:

  Dismiss()
  GetType() → string: "YesNoDialog"
  Method( name, types, p1, p2, p3, p4 )
  Show()

unknown
number: -180..180
number: -100..100
number: 100..100
number: 0..100
Adjust the visual color effect of the control by setting the Hue (by angle in degrees in a color circle), the saturation, brightness and contrast of the control.
hide dialog
Returns the control class name.
string
string: comma separated: "boolean", "char", "byte", "short", "int", "long", "float", "double"
Allows access to other functions defined on the object in Java via reflection.
string:
  hexadecimal: "#rrggbb", "#aarrggbb"
  colourName: "red", "green", ...
Changes the background color of the control.
string: path to file or folder ( "/absolute/..." or "relative/..." )
string: "repeat"
Changes the background to an image which can be repeated using the repeat option.
An image which is often used with that option is '/res/drawable/pattern_carbon' - try it out!
changes text of the two buttons
function(result)
called when user touches object with pressed button text as parameter
number
string: "" or "spx"
Change the size of the control in either screen relative values or in pixels if the px option was given.
Set the visibility of the control to "Show".