Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple way to combine two classes?
Message
From
12/06/2009 14:15:04
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01405587
Message ID:
01405605
Views:
86
His tool will not help yuor import PEMs from one class to another.

I've dont this before myself, and its just a copy-and-paste exercise.

By the way, if you do not use his PEM Editor, you should check it out. I use it for about 98% of my work on SCX and VCX files. It is awesome.

Has filters, search, and View Parent Code, plus many more things.



>Have you tried Jim Nelson's Property replacement? Does it allow to simply isolate new methods/properties?
>
>>>Hi everybody,
>>>
>>>I have a class with properties and methods I need to incorporate into the form I'm using (which is based on another class and I need to preserve it). What would be the simplest way to add them?
>>>
>>>Thanks.
>>
>>
>>Create a Form property called oMyObject, then in the Load() or Init() event:
>>
>>
>> this.oMyObject=CreateObject("MyClass")
>>
>>
>>then you can use it thoughout the form like this:
>>
>>
>>thisform.oMyObject.SomeProperty=999
>>thisform.oMyObject.SomeMethod()
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform