Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamically dropping / adding form objects every 60 seco
Message
 
 
To
02/08/2007 17:53:40
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01245612
Message ID:
01245709
Views:
27
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform