PRB: Activate Event of Page Not Triggered with Keyboard in VFP

Last reviewed: December 2, 1997
Article ID: Q165905
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, versions 5.0, 5.0a

SYMPTOMS

In Visual FoxPro 5.x, the Page Activate event within a PageFrame is not triggered when the Page is activated with the arrow key. However, the Page Activate event triggers when the Page is activated with the mouse click.

STATUS

Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a form.

  2. Add a PageFrame to the form and set the PageCount property to 1.

  3. Put the following code in the Activate event of page1:

          WAIT WINDOW "Activate Page 1"
    

  4. Add two textbox controls to the Page.

  5. Save and run the form.

When the form is run, the Wait window appears in the right-hand corner. Click the mouse once, and the focus should return to the page. Now, using the down arrow key to move the focus to the text box, try to cycle though the text boxes until the focus returns back to the page again. The Activate event does not trigger.
Keywords          : FxprgGeneral vfoxwin
Version           : 5.0 5.0a
Platform          : WINDOWS
Issue type        : kbprb


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: December 2, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.