gui module helpdlg >>

errordlg


Creates a error dialog box.


Syntax


h = errordlg()
h = errordlg(text_error)
h = errordlg(text_error, title)
h = errordlg(text_error, title, 'on')

Input argument


text_error

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

title

a string: the title of the dialog box.

Output argument


h

a QObject handle.

Description


errordlg creates an error dialog box.

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

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

gui module helpdlg >>