Constants.vbDefaultButton3 Feld

Definition

Gibt an, dass die dritte Schaltfläche von links als Standardschaltfläche ausgewählt wird, wenn das Meldungsfeld angezeigt wird.

public: Microsoft::VisualBasic::MsgBoxStyle vbDefaultButton3 = 512;
public const Microsoft.VisualBasic.MsgBoxStyle vbDefaultButton3 = 512;
val mutable vbDefaultButton3 : Microsoft.VisualBasic.MsgBoxStyle
Public Const vbDefaultButton3 As MsgBoxStyle  = 512

Feldwert

Value = 512

Beispiele

' Set the Ignore button as the default button.
MsgBox("Error occurred", vbDefaultButton3 Or vbAbortRetryIgnore)

Hinweise

Wenn Sie die MsgBox Funktion aufrufen, können Sie die MsgBoxStyle Enumeration im Code anstelle der tatsächlichen Werte verwenden. Das Buttons Argument übernimmt die Enumerationsmember MsgBoxStyle .

Gilt für:

Weitere Informationen