Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When is 'Save as Class' enabled?
Message
De
26/06/2013 15:39:50
 
 
À
26/06/2013 15:33:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01577238
Message ID:
01577239
Vues:
69
>Am I correct that the menu item 'Save As Class ...' is only enabled when editing a SCX,
>but is disabled when editing a class?


Correct. To save a class as a class, either:
(1) Select all objects on the class, then paste onto a blank form and save from there (you'll lose all properties and methods), or
(2) Create an instance and execute the this.SaveAsClass() method on the object.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform