Microsoft Knowledge Base |
|
XL: Double-Clicking Control Activates Default Button |
|
|
Last reviewed: September 13, 1996
Article ID: Q104936 |
|
The information in this article applies to:
SUMMARYIn custom dialog boxes in Microsoft Excel,double-clicking an option button or an item in a standard list box will activate the default button if one has been set. If you don't want the default button to be activated when you double-click an option button or an item in a standard list box, you must turn off the Default attribute for all of the buttons in the dialog box. The following steps describe how to do this:
MORE INFORMATIONWhen you create a custom dialog box in Microsoft Excel, one button in the dialog box may be set as the default button. The default button is surrounded by a thicker, darker border than other buttons, and is special in that if you press the ENTER key, the default button will be activated if no other button currently has the focus. To set a button to be the default button:
If you set a button to be the default button, double-clicking an option button or an item in a standard list box will activate the default button, just as if you had pressed the ENTER key. You cannot activate the default button by double-clicking a check box, edit box, spin control, or scroll bar, or by selecting an item in drop-down list.
|
|
KBCategory: kbusage
©1997 Microsoft Corporation. All rights reserved. Legal Notices. |