Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I save a class programmatically?
Message
From
14/05/2001 09:48:46
 
 
To
14/05/2001 07:52:11
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00506751
Message ID:
00506787
Views:
15
Hi!

You can get a reference using _Screen.forms collection.
You can save using KEYBOARD "{CTRL+S}" command, however, you require to activate that window first. You can close it (with prompt for saves if changes are made) just as suggested by Tamar Granor (CTRL+F4).

>If I create a subclass of an existing class in code, can I then save that class without requiring the user ( i.e. me ) to do anything?
>
>example: existing class cExample in Examples.vcx.
> CREATE CLASS cSubClass OF Examples.vcx AS cExample FROM Examples.vcx
>
>This brings the correct class up on screen, but I cannot seem to easily get a reference to it, ot see how to save it ( without macros :) ).
>
>TIA
>
>Craig
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform