Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_SCREEN.Resize event
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00733651
Message ID:
00733671
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
Hi Christian,

>Is there a way to have the _Screen.resize event trigger a method?

I don't know if this is mentioned in the thread Sergey pointed you to - or if it is mentioned in the FAQ, but using that kind of "hook" classes can cause a C5 error occasionally in complex environments. It will run great in most situations but sometimes it might crash. I've experienced that lately when calling an OLE Server and the screen got into a resize while doing that. I tested VFP8 with BINDEVENT() then and that worked great in the same situation. So you should be fine using the method provided but I'd suggest to switch to VFP8 as soon as there are C5s occuring when resizing.

Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform