Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamically dropping / adding form objects every 60 seco
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01245612
Message ID:
01245700
Vues:
29
This message has been marked as a message which has helped to the initial question of the thread.
Hi Margaret
Have the buttons you are trying to add to the form been subclassed into employee, lots, etc objects? That would give each buttons the methods that you have noted.

Once you have the button objects then its going through from a timer say calling a method that does ThisForm.AddObject(object property name, Button Class Name) and to remove them from the form ThisForm.RemoveObject(Object property name). When adding then simply set the Let and Top.
Jon



>Is there anyone else around that can help me? I think my problem is that I am trying to have the form add buttons to itself from inside the form's Refresh method.
>
>Instead do I need to have a program that creates the form as an object and then manipulates the form object from the program that created it (which means I would rebuild the buttons in the calling program)?
>
>TIA.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform