Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to remove object
Message
De
29/08/2000 20:02:39
 
 
À
29/08/2000 18:22:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00410511
Message ID:
00410559
Vues:
18
>Okay, now I got it. I had used the form designer to add the object initially. Now I will use code accordingly to add the object. I did not know that you could only use RemoveObject() on items created with AddObject.
>
>Thanks
>
>Ric

You can remove ANY object from it's container using RemoveObject(), not just ones added with AddObject().

In your case, if you added a control textbox through the form designer, and that textbox is named TextBox1, you could remove it with:

yourForm.RemoveObject("TextBox1")
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform