Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamically dropping / adding form objects every 60 seco
Message
 
 
À
02/08/2007 17:53:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01245612
Message ID:
01245709
Vues:
28
>Hi Naomi,
>I think my first problem is that I cannot make the buttons, see error messages in last message. The second problem would be not being able to remove them.
>Thanks,

Margaret,

Please show the piece of code which causes your error. The error is saying you the exact cause of the problem but we need to see the exact line of code causing it.

Your other method should use RemoveObject method as I said and not RemoveProperty. Rich made a good suggestion about using an array of buttons.

You can also have a collection class that will keep references to your objects and add/remove items as needed.

I actually have such collection class I use for my Search form. If you're interested in implementation details I may try to dig some code or may be send you the library.

Hope this helps.
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