Applies To Database object.
Description
You can use the AllowSpecialKeys property to specify whether or not special key sequences (ALT+F1 (F11), CTRL+F11, CTRL+BREAK, and CTRL+G) are disabled or enabled. For example, you can use the AllowSpecialKeys property to prevent a user from displaying the Database window by pressing F11, entering break mode within a Visual Basic module by pressing CTRL+BREAK, or displaying the Debug window by pressing CTRL+G.
Setting
The AllowSpecialKeys property uses the following settings.
Setting | Description |
True (–1) | Enable the special key sequences. |
False (0) | Disable the special key sequences. |
Key sequences | Effect |
ALT+F1 (F11) | Bring the Database window to the front. |
CTRL+G | Display the Debug window. |
CTRL+F11 | Toggle between the custom menu bar and the built-in menu bar. |
CTRL+BREAK | Enter break mode and display the current module in the Module window. |
See Also AllowBreakIntoCode property, AllowBypassKey property, CreateProperty method ("DAO Language Reference"), Properties collection ("DAO Language Reference"), StartupShowDBWindow property.
Example See the AllowBreakIntoCode property example.