Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't delete LABEL object from FORM
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01429060
Message ID:
01429187
Views:
39
>>I am trying to delete an object from a from called Label1, however, I get an error saying it is aprt of a class. Yet, I do not see any Class Name in the properties. Is there any reason why I cannot delete this oject through maybe hacking into the form by opening it as a table? Would that cause any internal problems.
>
>The message that it is part of a class means that the label is in a form class that you are using. You cannot remove objects from a class definition at runtimme, but you can set their visible property to .F. which esssentially does the same thing.

Jim,

I think you meant in design--time - you can remove them in run-time using RemoveObject method.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform