Constants.vbDefaultButton3 필드

정의

메시지 상자가 나타날 때 왼쪽의 세 번째 단추가 기본 단추로 선택되었음을 나타냅니다.

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 사용합니다.

적용 대상

추가 정보