How the Paint Event of a Form Works
Article ID: 142398
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 Q142398
SUMMARY
In the Help file or reference manual for the Paint event, it says that the
Paint event will fire when part or all of a form or toolbar is exposed
after it has been moved or sized -- or after a window that was covering the
form or toolbar has been moved.
This is true, but the Paint event also fires at other times, such as when a
value of an object changes or when moving the cursor from one object to
another object on the form. With this in mind, you should be aware of the
consequences of certain code that is placed in the Paint event.
Additional query words: VFoxWin
Keywords: KB142398