Share via


Constants.vbDefaultButton3 Campo

Definición

Indica que el tercer botón de la izquierda se selecciona como botón predeterminado cuando aparece el cuadro de mensaje.

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

Valor de campo

Value = 512

Ejemplos

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

Comentarios

Al llamar a la MsgBox función , puede usar la MsgBoxStyle enumeración en el código en lugar de los valores reales. El Buttons argumento toma los miembros de MsgBoxStyle enumeración.

Se aplica a

Consulte también