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:
01033993
Views:
15
What about binding to the Init event? Also, if this isn't a manager of some kind, and there is a seperate instance for each form, then you might try foregoing the bindevent() for setting restoration altogether and just put your code to resize the form, etc. in the init of the setting saver class you've created and reference the form via "this.parent". You get the idea, I suspect you've already tried this, but I am curious why neither of these worked... C5 again?

>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.

Of course, that makes sense.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform