Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing Buttons from a form
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Removing Buttons from a form
Miscellaneous
Thread ID:
01010513
Message ID:
01010513
Views:
74
Hi.
I have a form where I create buttons using CreatObject
How do I remove the buttons programatically (They are all called 'BUT_nnn'
e.g.

For lnFor = 1 to Count
If Button ('BUT_' + Strtran(Str(Count),' ','0') Exists
Remove(MyButton)
Endif
Endif

Any help appreciated
Gerard
Next
Reply
Map
View

Click here to load this message in the networking platform