Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Members of a parent class cannot be deleted
Message
From
16/01/2008 10:50:42
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01282237
Message ID:
01282257
Views:
10
>>If I have MyForm based on a class, and the class has an object on it, why am I not able to delete the object from MyForm? I have to hide it by moving it off the screen or something like that. I'm sure there is some class rule about it, but it seems that if I don't want part of something from the parent on MyForm, I should just be able to remove it.
>
>That's just how it works. You can not delete a member of a parent class visually in a designer.
>
>You may do it in the code using RemoveObject() method.

Not disagree with you, but it just seems like it goes agains the whole point of having instances that can be changed from the base class.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform