User Tools

Site Tools


messagebox_display_error_message_to_window_.htm
Navigation:  ABC Library Reference > ErrorClass > ErrorClass Methods >====== MessageBox (display error message to window) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

MessageBox( [ level ], txt, [caption], [icon], buttons, default button, style ), VIRTUAL, PROTECTED

blk2blue.jpg

MessageBox A simple MESSAGE() window to display error.
level The default error level is Level:Benign.
txt A string constant, variable, EQUATE, or expression that contains the error message text to display in the message box.
caption A string constant, variable, EQUATE, or expression that specifies the message box window caption.
icon An integer constant, variable, EQUATE, or expression that indicates the icon to display on the message box.
buttons An integer constant, variable, EQUATE, or expression that indicates which Windows standard buttons to place on the message box. This may indicate multiple buttons. If omitted this is equivalent to Button:OK.
default button An integer constant, variable, EQUATE, or expression that indicates the default button on the message box.
style An integer constant, variable, EQUATE, or expression that indicates the font style to use withing the lixt control on the message box dialog.buttons

The MessageBox method implements a simple MESSAGE() dialog to display the error message to the window. This can be called independently. It is also used if the ErrorClass is configured to not have a HistoryThreshold.

Return Data Type:     LONG

messagebox_display_error_message_to_window_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1