FormCommandButtonControl.defaultButton Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
defaultButton() |
Determines whether the button should be the default button in the form. |
defaultButton(Boolean) |
defaultButton()
Determines whether the button should be the default button in the form.
public:
virtual bool defaultButton();
public virtual bool defaultButton ();
abstract member defaultButton : unit -> bool
override this.defaultButton : unit -> bool
Public Overridable Function defaultButton () As Boolean
Returns
true if the button should be the default button; otherwise, false.
Applies to
defaultButton(Boolean)
public:
virtual bool defaultButton(bool _value);
public virtual bool defaultButton (bool _value);
abstract member defaultButton : bool -> bool
override this.defaultButton : bool -> bool
Public Overridable Function defaultButton (_value As Boolean) As Boolean
Parameters
- _value
- Boolean