<< uigetdir Gui module workspace >>

helpdlg


Creates a warning dialog box.


Syntax


h = warndlg()
h = warndlg(text_warning)
h = warndlg(text_warning, title)
h = warndlg(text_warning, title, 'on')

Input argument


text_warning

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

title

a string: the title of the dialog box.

Output argument


h

a QObject handle.

Description


errordlg creates an warning dialog box.

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

Examples


h = warndlg()

h = warndlg('help string')

h = warndlg('help string', 'dialog title')

h = warndlg('help string', 'dialog title')
h = warndlg('help string', 'dialog title', 'on')

See also


helpdlg, errordlg, questdlg, msgbox.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< uigetdir Gui module workspace >>