Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing objects
Message
From
05/01/1999 19:37:36
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00172935
Message ID:
00172981
Views:
26
>Jim,
>
>Look at the code you are firing in the Destroy(). I have a form that builds a calendar of 180 days using a textbox class. The form releases in subsecond time. If I from the commandwindow RemoveObject() the container that holds the 200+ objects it takes less than a second. It can take several seconds if the Locals window is open and the form under test is expanded showing the container.
>
>If you set form.LockScreen = .t. during the removal you'll save 21 repaints, but I can't quite imagine that they take that long unless you have something like an image on the form.

David, Wayne, Rich,

Well, its a mystery so far. I have removed the object from a page in a pageframe on a form to the form itself to see if that had any effect. Nothing.

Now I am tracking down the destroy of each object in the container to see if it is slowing things down.

So far, nothing found, and its still taking 24+ seconds to remove the object.

thanks for your help,

regard,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform