General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only