Skip to content

Default Property

Description

Specifies whether the button is the default button in the backstage view.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property Default() As Boolean

Return Type

True if the button is the default button.

Remarks

The Backstage is not a "real" dialog; thus, the Default property will not behave like it would on a typical dialog. This means you must manually process the ENTER press for the parent of this button.

Only one button on a form can be the default button. When the Default property is set to True for one button, it is automatically set to False for all other buttons on the form.

See Also


See Also

Command Bars ActiveX Control v24.0

Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.