Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I save a class programmatically?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00506751
Message ID:
00506787
Vues:
16
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform