Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving a class to a classlib from a define statement ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00123550
Message ID:
00123566
Vues:
21
Jerry,

I never do classes in code, except for the ones that can't be visually subclassed like Header.

Can you temporarily redefine your class so that it is based on something from a classlib:

original: define class MyClass as custom

try this:
set classlib to aClassLib && contains class cCustom
define class MyClass as cCustom

>I have a DEFINE CLASS - ENDDEFINE statement in a prg that I want to convert to a class in a VCX.
>I haven't found a way to do it. Using Object.saveasclass() only works if the souce class is already in a vcx.
>How do you gurus do it?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform