ebDefaultButton1 (constant)

Description

Used with the MsgBox statement and function.

Comments

This constant is equal to 0.

Example

This example invokes MsgBox with the focus on the OK button by default.

Sub Main()
  rc% = MsgBox("Are you sure you want to quit?",ebOKCancel Or  ebDefaultButton1)
End Sub

See Also

MsgBox (function); MsgBox (statement).

More information

E