This shows you the differences between two versions of the page.
built_in:dialog [2015/03/03 15:47] octazid [Methods] |
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 ^Description ^ | ||
- | |Dialog.AddLayout( layout ) | | | ||
- | |Dialog.Destroy() | | | ||
- | |Dialog.Dismiss() | | | ||
- | |Dialog.GetAbsHeight() | | | ||
- | |Dialog.GetAbsWidth() | | | ||
- | |Dialog.GetHeight() | | | ||
- | |Dialog.GetPosition() | | | ||
- | |Dialog.GetType() | | | ||
- | |Dialog.GetVisibility() | | | ||
- | |Dialog.GetWidth() | | | ||
- | |Dialog.Hide()| | | ||
- | |Dialog.Release() | | | ||
- | |Dialog.RemoveLayout( layout ) | | | ||
- | |Dialog.SetBackColor( color ) | | | ||
- | |Dialog.SetBackGradient( color1, | ||
- | |Dialog.SetBackGradientRadial( x, | ||
- | |Dialog.SetBackground( imagefile, | ||
- | |Dialog.SetMargins( left, | ||
- | |Dialog.SetOnCancel( callback )| | | ||
- | |Dialog.SetOnTouch( callback ) | | | ||
- | |Dialog.SetPadding( width, | ||
- | |Dialog.SetPosition( left, | ||
- | |Dialog.SetScale( x,y ) | | | ||
- | |Dialog.SetSize( width, | ||
- | |Dialog.SetVisibility( HideShow ) | | | ||
- | |Dialog.Show()| | | ||
- | ===== Options ===== | ||
- | ^Options ^ | ||
- | |NoCancel| | ||
- | |NoTitle| |