Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Leftover class instance
Message
 
 
To
21/11/2007 14:24:00
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01270548
Message ID:
01270552
Views:
17
This message has been marked as the solution to the initial question of the thread.
Don,

See Re: Controls collection Message #675463

>This code, which is called by a button,
>
>for each oControl in thisform.Controls
>	if oControl.class = "Mergeclass"
>		thisform.RemoveObject(oControl.name)
>	endif
>endfor		
>
>Leaves 1 instance of the target class remaining on the form. Any ideas why?
>I thought maybe it was a focus issue but focus is switched to the button when it is clicked.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform