Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any secrets to REMOVEOBJECT and C5 Errors?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Any secrets to REMOVEOBJECT and C5 Errors?
Miscellaneous
Thread ID:
00821999
Message ID:
00821999
Views:
46
This project has a form, with a container (that contains smaller containers).Sliders move the big container around in the form (have set autoyield).

When a process removes a "liitle" container inside the "big" container inside the program:
oForm.oBigContainer.RemoveObject("oLittleContainer")
VFP crashes. When I remove the object from the command window while the form is running, it works okay! BTW: oLittleContainer contains some textboxes.

It does the same in both 6 and 7. I lieu of a secret workaround I could just INVISIBLE the discarded container (and rename it).

Thanks
Imagination is more important than knowledge
Next
Reply
Map
View

Click here to load this message in the networking platform