Init (initialize the MsgBoxClass object)

Top  Previous  Next

 

Init, PROC, DERIVED

Init( win, err, [caption], icon, [buttons],default button, style )

Init

Initialize the MsgBoxClass object.

Win

Reference to the MsgBox window.

Err

Reference to the ErrorClass object.

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 Init method initializes the MsgBoClass object.

Return Data Type:     BYTE