XL: Static and Dynamic Default Buttons in Dialog BoxesLast reviewed: February 2, 1998Article ID: Q105552 |
|
The information in this article applies to:
SUMMARYIn Microsoft Excel custom dialog boxes, there are two types of default buttons: static and dynamic.
MORE INFORMATIONIn custom dialog boxes in Microsoft Excel, you can set one button in a dialog box as the Default button. To set a button as the Default button:
If you have a dialog box that contains multiple controls, such as those listed here, pressing ENTER when a control has the focus will either activate the Default button or it will activate another button.
If this control has the Focus Pressing ENTER Activates this control
---------------------------------------------------------------------
DefaultButton DefaultButton
Button2 Button2
Button3 Button3
EditBox1 DefaultButton
CheckBox1 DefaultButton
CheckBox2 DefaultButton
ListBox1 DefaultButton
DropDown1 DefaultButton
In Microsoft Excel for Windows, Windows 95, and Windows NT, if you want a
specific control to have the focus when you display a dialog box, you can
set the Tab Order of the dialog box so that the control is at the top of
the Tab Order. To access the Tab Order dialog box:
REFERENCES"Visual Basic User's Guide," version 5.0, page 228-229
|
Additional query words: 5.00 5.00a 5.00c 7.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |