Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing Buttons from a form
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01010513
Message ID:
01010699
Views:
18
Hi Sergey.
Removeobject did the trick fine.

Regards,
Gerard

>Did you try RemoveObject()?
>
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform