PRB: CTRL+P Shortcut Does Not Display Print Dialog BoxID: Q129644 The information in this article applies to:
SYMPTOMSWhen you press CTRL+P, which was previously defined as a shortcut to choosing Print from the File menu, the Print dialogue box doesn't display. In FoxPro for the Mactinosh the CTRL+P shortcut key works as expected.
WORKAROUNDThe CTRL+P shortcut can be used to display the Print dialogue box in FoxPro for Windows by using this workaround: 1. Assign the CTRL+P key combination as the shortcut key for the Print 2. In the SETUP code snippet of the menu that uses the CTRL+P shortcut key,
3. In the CLEANUP code snippet of the menu, add the following code to
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior1. Create a quick menu using the menu generator. 2. Choose Edit from the File menu. 3. Scroll down the options list to the '\<File' listing. 4. Click the Options box. 5. In the Options dialogue box, click the Shortcut key check box. 6. Hold down the Control key, and press the P key. 7. Click OK, to move back to the menu design window. 8. Generate the menu, and run the .MPR that was created. 9. Note that pressing CTRL+P does not display the Print dialogue box. Additional reference words: FoxWin 2.50 2.50a 2.50b 2.60 2.60a cross platform choice menu Mac KBCategory: kbtool kbprb KBSubcategory: FxtoolMbuilder |
|
Last Reviewed: June 27, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |