User Tools

Site Tools


msg_initiate_error_message_destination_.htm
Navigation:  ABC Library Reference > ErrorClass > ErrorClass Methods >====== Msg (initiate error message destination) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

Msg( txt, [caption], [icon], [buttons], [default button] , [style]), PROC, VIRTUAL, PROTECTED

blk2blue.jpg

Msg Initiates the destination of the error message.
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.

The Msg method initiates the error destination. If the error is to be written to the error log file, the AddHistory method is called. The MessageBox method is called to display the error message to the window.

Return Data Type:     LONG

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