Microsoft KB Archive/135329

= BUG: Pressing PAGE UP or PAGE DOWN Moves to New Code Window =

Article ID: 135329

Article Last Modified on 9/30/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft Visual FoxPro 3.0b Standard Edition

-



This article was previously published under Q135329



SYMPTOMS
If procedure code is short enough that all code fits in a single page of the Code Window, pressing the PAGE UP or PAGE DOWN key moves to the previous or next populated procedure rather than moving to the beginning or end of the currently edited procedure.



WORKAROUND
Press CTRL+HOME or CTRL+END to move to the beginning or end of the currently edited procedure.



STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been fixed in Visual FoxPro 5.0 for Windows.



Steps to Reproduce Problem
 Create a form.  Type the following two lines in the Code window for the Init procedure of the form: This.Height=300 This.Width=500   Type the following two lines in the Code window for the DblClick procedure of the form: WAIT WINDOW STR(This.Height) TIMEOUT 1 WAIT WINDOW STR(This.Width) TIMEOUT 1  Double-click the upper-left corner of the Code window to close it. Open the DblClick Procedure by double-clicking anywhere on the form in the Form Designer. Press the PAGE DOWN key.</li></ol>