User Tools

Site Tools


built_in:dialog

Differences

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

Link to this comparison view

built_in:dialog [2016/05/12 18:40]
216.180.209.66 [Table]
built_in:dialog [2018/04/19 23:25]
Line 1: Line 1:
-====== Dialog control ====== 
  
-===== Create ===== 
-Create dialogs using the CreateDialog method of the app object: 
-<code>dlg = app.CreateDialog( title, options );</code> 
-===== 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 ^ 
-|NoCancel| 
-|NoTitle| 
-===== Sample ===== 
-[[sample_code:custom_dialog|Custom Yes-No-Dialog]] 
built_in/dialog.txt ยท Last modified: 2018/04/19 23:25 (external edit)