Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamically dropping / adding form objects every 60 seco
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01245612
Message ID:
01245700
Views:
28
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform