Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remove Objects from a Form
Message
De
05/09/2005 07:18:41
 
 
À
05/09/2005 05:55:01
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01046174
Message ID:
01046750
Vues:
12
>Dear Fabio,
>
>I'm sorry I don't understand what is your approach!
>
>For say, I've got a custom class called "nEditBox", named according to the record number like "A1","A2"..."A999"
>
>my prime objective is to remove them all... can I do this?
>
>
>f_form.setall('destroy','nEditBox')
>
>
>In which, 'destroy' is a custom method built in "nEditBox" class
>
>this.parent.removeobject(this.name)
>
Why you don't uses a array name ?
"A[1]","A[2]"..."A[999]"

Objects array name is the natural solution
when you use a homogeneous collection of objects.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform