dialogs.js | |
Dialogs | |
Functions | |
ngMessageDlg | Creates dialog. |
ngMessageDlg | Basic message dialog (based on ngWindow). |
Definition | |
DlgButtons | ... |
DialogType | ... |
Properties | |
DialogResult | ... |
Controls | |
Message | ngText |
Content | ngPanel |
Buttons | ngToolBar |
OK | ngButton |
Yes | ngButton |
No | ngButton |
Cancel | ngButton |
ngAboutDlg | Application about dialog (based on ngMessageDlg). |
Definition | |
AboutSystemInfo | ... |
AboutComponents | ... |
AboutLibraries | ... |
AboutTrademarks | ... |
AboutReleaseNotes | ... |
Properties | |
AppName | ... |
AppVersion | ... |
AppCopyright | ... |
AppText | ... |
Controls | |
AppInfo | ngList |
function ngMessageDlg( type, text, caption, onclose, def )
Creates dialog.
object ngMessageDlg (string type, string text, string caption [, function onclose = undefined, object def = {}])
type | dialog control type |
text | message text |
caption | dialog caption |
onclose | on close function callback |
def | dialog definition |
Created dialog.
DlgLangTxt | if true (default) uses proper locale for caption and text (ngTxt). |
DlgHtmlEncode | if true (default) encodes HTML special characters in caption and text |
DlgShowDialog | if true (default) shows dialog after creation |
Basic message dialog (based on ngWindow).
Application about dialog (based on ngMessageDlg).
Creates dialog.
function ngMessageDlg( type, text, caption, onclose, def )
ngText
Message: { Type: 'ngText', L: 15, T: 15, Data: { AutoSize: true } }
ngPanel
Content: { Type: 'ngPanel', L: 15, R: 15, H: 15 }
ngButton
OK: { Type: 'ngButton', W: 80, Data: { ngText: 'mbOK', Default: true, DialogResult: mbOK } }
ngButton
Yes: { Type: 'ngButton', W: 80, Data: { ngText: 'mbYes', Default: true, DialogResult: mbYes } }
ngButton
No: { Type: 'ngButton', W: 80, Data: { ngText: 'mbNo', DialogResult: mbNo } }
ngButton
Cancel: { Type: 'ngButton', W: 80, Data: { ngText: 'mbCancel', Cancel: true, DialogResult: mbCancel } }
...
AboutSystemInfo: null
...
AboutComponents: null
...
AboutLibraries: null
...
AboutTrademarks: null
...
AboutReleaseNotes: null
...
AppName: appname
...
AppVersion: appver
...
AppCopyright: appcopy
...
AppText: ''