Constants.vbDefaultButton3 Campo

Definizione

Indica che il terzo pulsante da sinistra è selezionato come pulsante predefinito quando viene visualizzata la finestra di messaggio.

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

Valore del campo

Value = 512

Esempio

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

Commenti

Quando si chiama la MsgBox funzione, è possibile usare l'enumerazione MsgBoxStyle nel codice al posto dei valori effettivi. L'argomento Buttons accetta i membri dell'enumerazione MsgBoxStyle .

Si applica a

Vedi anche