Constants.vbDefaultButton3 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示當訊息框出現時,從左數第三個按鈕被選為預設按鈕。
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 列舉成員。