Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RemoveObject
Message
From
01/12/2017 12:26:40
 
 
To
01/12/2017 11:52:19
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Miscellaneous
Thread ID:
01655998
Message ID:
01656002
Views:
80
thanks Albert for the reply.

i use this code below to try to remove all containers on the form ( based on the class ycnt container)
with thisform
For Each obj In .Controls
  If Lower(obj.Class)=="ycnt"
	.RemoveObject(obj.Name)
	DoEvents
  Endi
Next
endwith
i tried also to remove first all objects in each container based ycnt and then remove the container form the from with removeObject(obj.name)....no good result.
there is always some ycnt containers persisting appear on the form.
using the vertical form.scrollbar make the form with garbages also.

see the 2 photo attached.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform