Microsoft KB Archive/299063

= FIX: The Print Preview window appears inside the Debug frame when it is called from the Trace window =

Article ID: 299063

Article Last Modified on 2/11/2005

-

APPLIES TO


 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q299063



SYMPTOMS
When you use the Visual FoxPro 6.0 (VFP6) Trace window to step through a REPORT FORM PREVIEW command, and the Trace window is inside the Debug frame, the Print Preview window and Print Preview toolbar are displayed inside the Debug frame.



STATUS
This problem was corrected in Microsoft Visual FoxPro version 7.0 for Windows.



Steps to Reproduce Behavior
To reproduce this problem in VFP6, follow these steps:  Open VFP and open the Options dialog box by selecting Options from the Tools menu. Click the Debug tab and ensure that the Environment box is set to Debug Frame. Click OK to close the Options dialog box.  Paste the following code in a new program. Save and run the code (the program name is not important). *!* Q299063 FIX: Print Preview Appears Inside Debug Frame When Called From Trace Window CREATE CURSOR Q299063 (f1 c(5)) INSERT INTO Q299063 (f1) VALUES ('XX') ERASE Q299063_REPO.FR? CREATE REPORT Q299063_REPO FROM Q299063 SET STEP ON REPORT FORM Q299063_REPO PREVIEW USE IN Q299063 RETURN  When the debugger is displayed, click Resume or Step Into on the Debugger toolbar. This executes the REPORT FORM PREVIEW line.

Note that the Print Preview window and Print Preview toolbar are displayed inside the Debug frame.

Keywords: kbbug kbfix kbprint kbcodesnippet kbreportwriter KB299063

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.