Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing objects
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00172935
Message ID:
00172953
Views:
28
>>>it took 4 secs+ to remove a container with 21 contained controls.
>>>
>>>is there a way to actually make it faster?
>>
>>didja try setting the form.Visible to .F. until done changing it? Would it be unacceptable if that actually causes the form to "blink off and back on"?
>
>Hi Rich,
>
>No. I do that now to give the appeance that the container is being removed faster than it actually is.
>
>My question, though, is does anyone know of a way to speed up the removal. In my original post, the removal time should have been 24+ seconds. This is unacceptable for such a small number of controls.
>
>There is something wrong. If I trace the code that removes the objects, removal takes a total of about 3 seconds with debug/trace on. Why does it take so long with debug off? Is it something I'm doing, or not doing?
>
>regards,

What type of code do you have in the DESTRUCTION methods of the controls? Could there be a lot of validation going on in a parent class?

Wayne
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Reply
Map
View

Click here to load this message in the networking platform