DIAdem Help

VBScript constant: vbDefaultButton4

  • Updated2024-09-12
  • 1 minute(s) read

VBScript constant: vbDefaultButton4

Provides a constant for the fourth button for the MsgBox method.

Object.vbDefaultButton4
ObjectVBS
The constant belongs to the VBS functionality. You do not need to specify this object.
Object.vbDefaultButton4Variant with read access
vbDefaultButton4 has the value 768.

The following example displays the buttons Yes, No, Cancel, and Help in a message in which the fourth button is the default button:

Call MsgBox("Hello World", vbYesNoCancel + vbDefaultButton4 + vbMsgBoxHelpButton )