This shows you the differences between two versions of the page.
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: | ||
- | < | ||
- | ===== Methods ===== | ||
- | Some controls use the same methods.\\ | ||
- | For examples of the **[[same methods]]** look here. | ||
- | ^ Method | ||
- | | Dialog.AddLayout( layout ) | Adds a Layout | ||
- | | Dialog.Dismiss() | ||
- | | Dialog.GetType() | ||
- | | Dialog.Hide() | ||
- | | 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() | ||
- | ===== Options ===== | ||
- | ^Options ^ | ||
- | |NoCancel| | ||
- | |NoTitle| | ||
- | ===== Sample ===== | ||
- | [[sample_code: |