This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
built_in:dialog [2015/03/22 08:27] octazid [Methods] delete not used methods |
built_in:dialog [2018/04/19 23:25] (current) |
||
---|---|---|---|
Line 7: | Line 7: | ||
Some controls use the same methods.\\ | Some controls use the same methods.\\ | ||
For examples of the **[[same methods]]** look here. | For examples of the **[[same methods]]** look here. | ||
- | ^Method ^Description ^ | + | ^ Method |
- | |Dialog.AddLayout( layout ) | | | + | | Dialog.AddLayout( layout ) | Adds a Layout |
- | |Dialog.Dismiss() | | | + | | Dialog.Dismiss() |
- | |Dialog.GetType() | | | + | | Dialog.GetType() |
- | |Dialog.Hide()| | | + | | Dialog.Hide() |
- | |Dialog.RemoveLayout( layout ) | | | + | | Dialog.RemoveLayout( layout ) |
- | |Dialog.SetOnCancel( callback )| | | + | | Dialog.SetOnCancel( callback ) | Used for setting a callback for when the Dialog is cancelled |
- | |Dialog.SetOnTouch( callback ) | | | + | | Dialog.SetOnTouch( callback ) |
- | |Dialog.Show()| | | + | | Dialog.Show() |
===== Options ===== | ===== Options ===== | ||
- | ^Options ^ | + | ^ Options |
- | |NoCancel| | + | | NoCancel |
- | |NoTitle| | + | | NoTitle |
+ | | NoDim | Set the background transparent | ||
===== Sample ===== | ===== Sample ===== | ||
[[sample_code: | [[sample_code: |