General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only