User Tools

Site Tools


built_in:dialog

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
built_in:dialog [2014/12/18 21:59]
bcarroll created
built_in:dialog [2018/04/19 23:25] (current)
Line 1: Line 1:
 ====== Dialog control ====== ====== Dialog control ======
  
 +===== Create =====
 +Create dialogs using the CreateDialog method of the app object:
 +<code>dlg = app.CreateDialog( title, options );</code>
 ===== Methods ===== ===== Methods =====
-^Method ^Description ^ +Some controls use the same methods.\\ 
-|Dialog.SetOnTouchp1 ) | | +For examples of the **[[same methods]]** look here. 
-|Dialog.AddLayoutp1 ) | | +^ Method                          ^ Description                                                   
-|Dialog.RemoveLayout( p1 ) | | +| Dialog.AddLayoutlayout      Adds a Layout                                                 
-|Dialog.Show() | | +| Dialog.Dismiss()                Dismisses the Dialog                                          | 
-|Dialog.Hide() | | +| Dialog.GetType()                | Gets the type of Dialog                                       | 
-|Dialog.Dismiss() | |+| Dialog.Hide()                   | Hides the Dialog                                              
 +| Dialog.RemoveLayout( layout   Removes a Layout                                              
 +| Dialog.SetOnCancelcallback  Used for setting a callback for when the Dialog is cancelled  
 +| Dialog.SetOnTouchcallback   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 ===== 
 +[[sample_code:custom_dialog|Custom Yes-No-Dialog]]
built_in/dialog.1418939952.txt.gz · Last modified: 2014/12/19 05:59 (external edit)