Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I remove subclass method codes?
Message
From
31/12/2010 21:54:31
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01494213
Message ID:
01494264
Views:
56
>>>>Hi,
>>>>
>>>>I have a class A in A.VCX and its subclass B which is stored in B.VCX
>>>>
>>>>In A there a method lTest() added by me with some codes and in B.lTest() I have also insert some codes.
>>>>
>>>>Later, I decide to remove lTest() totally, so I start by removing method lTest() in A first.
>>>>When I open up class B, as expected lTest() is gone and no more there in the property windows.
>>>>
>>>>But if I manually open up B.VCX as a table and check, I can actually locate those codes that I previously inserted in B.lTest() method. The method is still there though it is not shown in the property windows, So, when will VFP actually remove those codes? (Will VFP ever remove it?) Or how can I force that to happen?
>>>
>>>If you "reset to default" the b.method it gets eliminated from the methods memo field.
>>>It is currently not shown as the marker for "new method" in a was eliminated.
>>>
>>>HTH
>>>
>>>thomas
>>I understand the reset to default way, but I have already deleted method lTest() in A, that means I won't be able to see it in B, so, it is too late to reset it to default...
>
>Did you try
>
>compile classlib myClassLib.vcx ?

I just try it, it does not remove the lTest().

Anyway, your suggestion give me an inspiration, I open up B and explicitly save it, that is it, VFP removes the method for me.

Thank you!
Previous
Reply
Map
View

Click here to load this message in the networking platform