Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't delete an object
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00028599
Message ID:
00028607
Views:
55
>>I subclassed the form class gridaddform from wizstyle and tried to modify it. When I tried to remove an object from the form, it said "Cannot delete objects because some are members of a parent class." I have not subclassed my subclass, so what's going on here? How do I get rid of unwanted objects? I used to copy classes to my own class library and then change their names with the RENAME CLASS command, which is more cumbersome.
>
>Hi Bret,
>Set the "Visible" propety to .F., of the objects that you don't
>want.
>Hope this help
I don't want a bunch of useless objects in memory. I find it absurd that I can change their properties but not remove them. If this is really how it works, and I'm not missing something obvious (which I often do), I'll go back to my old way. I'll lose the power of subclassing, but I wasn't going to use it anyway when I subclass the classes in wizstyle, which I don't modify.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform