Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding a class definition to a vc library from a program
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00294490
Message ID:
00294807
Vues:
23
Just today I was trying to find the same utility. Were you able to find a solution?

Cathi

>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.
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform