Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pickup _screen windowstate change?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00085679
Message ID:
00085969
Views:
29
>You're absolutely right. Bad testing on my part. I updated a label in the paint event, which, of course, caused paint to fire again, ad infinitum. Interestingly enough. If you resize a form and make it smaller, paint doesn't fire, but if you make it larger, it does. Further, it doesn't fire if you move the form.

I guess there's only a need to repaint when there's an increase in size?

>However, it does still leaves open the problem. Unfortunately, it doesn't appear as if any of the events fire when the _SCREEN is resized. It would seem that the only way to handle the problem is to add a timer to the form.

Or you can use top-level, where events do fire...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform