Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't delete LABEL object from FORM
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Divers
Thread ID:
01429060
Message ID:
01429187
Vues:
40
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform