PRB: Width_Access Method Fires When Height Changes

ID: Q186876


The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 6.0


SYMPTOMS

Resizing the height of a form causes the Width_Access method to fire.


STATUS

This behavior is by design.


MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a program that contains the following code and run the program:
    
          PUBLIC oForm1
          oForm1 = CREATE('oForm')
          oForm1.SHOW
    
          DEFINE CLASS oForm AS FORM
    
             PROCEDURE Width_ACCESS
             ? "Accessed"
             RETURN THIS.WIDTH
    
          ENDDEFINE 


  2. After the form appears, resize the form, increasing its height by using the mouse to drag a corner of the form.


  3. Notice the word "Accessed" appears repeatedly in the form each time the Width_Access method fires.


Additional query words: kbvfp600

Keywords :
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: December 10, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.