Custom dialogs appear on top of the app and thus can be used to show temporary information or collect data from the user. They are also useful for displaying configuration or settings controls.
Dialogs are resizeable and you can also change the look of them so that they fit in with the theme of your application.
A custom dialog needs a layout to add the controls to. Use the CreateLayout method of the app object to add a layout.
dlg.AddLayout( layDlg );
If you have added all your controls to the dialog layout you can use the Show method to show the dialog.
Normally the user can cancel the dialog by pressing the BACK button of the device, but you can disable that option by using the
Methods
The following methods are available on the Dialog object: