<< commandhistory Gui module filebrowser >>

errordlg


Creates a error dialog box.


Syntax


h = errordlg()
h = errordlg(text_error)
h = errordlg(text_error, title)
h = errordlg(text_error, title, mode)

Input argument


text_error

a string or a cell of string: the error message.

title

a string: the title of the dialog box.

mode

a string: 'mode', 'non-modal', 'replace'.

Output argument


h

a QObject handle.

Description


errordlg creates an error dialog box.

h = errordlg(text_error, title, 'replace') specifies whether to replace an existing dialog box having the same title.

Examples


h = errordlg()

h = errordlg('error string')

h = errordlg('error string', 'dialog title')

h = errordlg('error string', 'dialog title')
h = errordlg('error string', 'dialog title', 'on')

See also


warndlg, questdlg, helpdlg, msgbox.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< commandhistory Gui module filebrowser >>