Constants.vbDefaultButton3 フィールド

定義

メッセージ ボックスが表示されたときに、左側の 3 番目のボタンが既定のボタンとして選択されていることを示します。

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

フィールド値

Value = 512

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

注釈

MsgBox関数を呼び出すときは、実際の値の代わりにコードでMsgBoxStyle列挙を使用できます。 Buttons引数は、MsgBoxStyle列挙メンバーを受け取ります。

適用対象

こちらもご覧ください