Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding a class definition to a vc library from a program
Message
De
23/11/1999 15:03:09
 
 
À
23/11/1999 14:45:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00294490
Message ID:
00294538
Vues:
24
Fred,

You are right. But what I would like to do is add the class definitionto the Visual Class Library directly. A few years ago, Tom Rettig started something like this with VFP3. It converted prg programs to vcx files. As far as I can remember it only worked with custom classes and had some serious limitations.



>>You are not supposed to be able to add a class definition to a visual class library from a VFP program, application or procedure file. I know you can do this by re-creating your class definiton within the Class Designer and manually copying text from the prg file methods and past it the Class Designer event or method window.
>>
>>I would love to avoid using the class designer. Is there an easier way?
>>
>>Chuck
>
>If you don't want to use the Class Designer, don't. But then you can't drop your class on a form visually, it can only be added through code via CREATEOBJECT/NEWOBJECT.
Life is like an orgasm...so make it the biggest and best you can
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform