Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Splinter in the head
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00917440
Message ID:
00917475
Vues:
7
Boris,

Since your form class was designed with this label inside it, you can not delete the label at design time.

As long as the form class does not have any code that depends on the label being there you can remove it at runtime by calling thisform.RemoveObject(). Or just set it's .Visible to .f.

Another option would be to go back to the form class and perhaps have it conditionally instantiate that label. Go back and think why it's there in the first place and why you are wanting to delete the label now when using the form.

>Label on the Form, when I try to delete it from the form, gives a message: "Cannot delete objects because some are members of the parent class."
>There is no way on earth to delete a darn label from the form!
> Yes, I can make is small and invisible, but it is still like a splinter in the head.
> What a limited knowledge I have, if can not delete an object from the form by just clicking a delete button.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform