Microsoft KB Archive/165905

From BetaArchive Wiki
Knowledge Base


Article ID: 165905

Article Last Modified on 2/16/2005



APPLIES TO

  • Microsoft Visual FoxPro 5.0 Standard Edition
  • Microsoft Visual FoxPro 5.0a



This article was previously published under Q165905

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 has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
This bug was corrected in Visual Studio 6.0 Service Pack 3. For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:

194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed


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: kbbug kbfix kbvs600sp3fix KB165905