Table of Contents

Dialog control

Create

Create dialogs using the CreateDialog method of the app object:

dlg = app.CreateDialog( title, options );

Methods

Some controls use the same methods.
For examples of the same methods look here.

Method Description
Dialog.AddLayout( layout ) Adds a Layout
Dialog.Dismiss() Dismisses the Dialog
Dialog.GetType() Gets the type of Dialog
Dialog.Hide() Hides the Dialog
Dialog.RemoveLayout( layout ) Removes a Layout
Dialog.SetOnCancel( callback ) Used for setting a callback for when the Dialog is cancelled
Dialog.SetOnTouch( callback ) Used for setting a callback for when the Dialog is touched.
Dialog.Show() Callback to open the Dialog.

Options

Options Description
NoCancel
NoTitle
NoDim Set the background transparent

Sample

Custom Yes-No-Dialog