Constants.vbDefaultButton1 필드

정의

메시지 상자가 나타날 때 맨 왼쪽 단추가 기본 단추로 선택됨을 나타냅니다.

public: Microsoft::VisualBasic::MsgBoxStyle vbDefaultButton1 = 0;
public const Microsoft.VisualBasic.MsgBoxStyle vbDefaultButton1 = 0;
val mutable vbDefaultButton1 : Microsoft.VisualBasic.MsgBoxStyle
Public Const vbDefaultButton1 As MsgBoxStyle  = 0

필드 값

Value = 0

예제

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

설명

호출 하는 경우는 MsgBox 함수를 사용할 수는 MsgBoxStyle 실제 값 대신 코드의 열거형입니다. 합니다 Buttons 인수는 MsgBoxStyle 열거형 멤버입니다.

적용 대상

추가 정보