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:
01010713
Views:
20
Glad to hear that.

>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
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform