Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Un-class a form
Message
From
02/09/1999 10:29:15
 
 
To
01/09/1999 16:22:49
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00259926
Message ID:
00260602
Views:
13
>>I have a single form with 14 (YES!) tabs. It loads too slowly, so in an attempt to speed it up I saved it as a class. (didn't speed it up), so now I want to undo that because I believe the answer is to save each page as a separate class and use delayed instanciation to load the class during the activate method of the page. I can't save the page as a class (I guess because the whole thing is a class). How do I undo my mess....
>
>Sounds like you want to know how to undo saving your form as a class. (assuming you didn't keep a copy of it as a form)
>
>Here's one:
>
>On the menu select: tools/options.../forms
>
>in the resulting dialogue box, enable the forms template and set it to the form class you created.
>
>close that all up then open up a new form. voila! here is a copy of your form that you can save pieces of as classes. Just select the objects you want to save as classes, then under the file menu Save As Class... One of the options will allow you to save the selected objects as a class.
>
>Warning. Saving your form as a class eliminated the Dataenvironment (if, by chance, you used it to open tables in your original form).
>
>Also, don't forget to go back into the options/forms menu and disable the form template. That way, you won't be confused the next time you just want to start out with a vanilla form.
>
>Good luck.


THANKS that worked!

Sandi.
Previous
Reply
Map
View

Click here to load this message in the networking platform