Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activate, BindEvents, and Modal forms
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01033957
Message ID:
01033990
Views:
15
Activate is not my first choice, when it works you see the form flash before it moves or is resized. When I bind to the Show event I get a C0000005 error the second time the class is used. It does not happen in the VFP IDE but it does in my compiled exe.

For saving settings, I use the destroy event of the class, I only need the setting when the form is closed.


On DO FORM command:

Fatal error: Exception code=C0000005 @ 07/19/2005 02:29 PM. Error log file: C:\Program Files\Common Files\Microsoft Shared\VFP\vfp9rerr.log


>While I can't speak the nature of the problem you are encountering as I've never seen it, I do wonder at your choice of events given the intention of the class. Wouldn't the form's resize event be a better event to bind to capture the height,width, and windowstate of the form. And the Show event be a better place to restore the form's settings?
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform