Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PEMS IN BASE VCX
Message
From
29/03/1997 17:17:34
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00026162
Message ID:
00026170
Views:
35
What you can do:

Define your own classes as you need and want them.

After that, open your actual vcx files as dbfs (USE command) and modify them "by hand". I think there are 2 fields you must modify. I don't remember exactly the names of those fields. There is a very good article in the March issue of FoxPro Advisor on it. It's no big deal to modify the parent class for a class in a VCX. You must modify the name of the parent class and the source vcx file for this parent class.

The same goes for form files (scx).

Vlad


>Well...
>
>As a good beginner in VFP a while ago, I did not subclassed them. and now I'm paying for it.
>
>Some of my forms on a huge program we are developing are based on VFP
>main classes.
>
>Thanx
>>>HI
>>>
>>>How do I add PEM's to VFP basic library?
>>>
>>>I need to add new methods to baseform and basebuttons
>>>
>>>
>>>Thanx for your help
>>>
>>>Alfred
>>
>>You can't. Subclass them and add your properties and methods. Why do you need to add mandatory to base classes?
>>
>>Vlad
Previous
Reply
Map
View

Click here to load this message in the networking platform