Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a class definition to a vc library from a program
Message
From
23/11/1999 18:00:20
 
 
To
23/11/1999 15:03:09
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00294490
Message ID:
00294689
Views:
30
>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.

AFAIK, that is still the only tool around today. It might even be here in the library files.


>
>
>
>>>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.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform