
MSHFlexGrid Expert - Need Help
I have posted this problem before, but have not received a satisfactory
response as yet.
The Problem:
I am using the mshflxgd control in my program.
It works perfectly well for my needs. I chose the mshflxgd control because
of the properties made available to the user, and for the speed it provides
for what I'm doing in the program.
I do not wish to give up on this control.
But,
My mshflxgd control has 30,000 rows and 10 columns. At most times the
entire grid
is filled with data. The data is unbound.
I know this sounds like a lot of data in the grid at one time, but that's
how it has to be.
As I said above, everything is working fine.
My problem with the grid comes when exiting the program.
When I exit the program it exits immediately, and I'm back to my desktop
or whatever. But it is taking about 20 seconds or so before I can do
anything.
After I click to bring up another program, it takes about 20 seconds before
the next
program is loaded.
I have been told by people in this conference that the problem is VB
housekeeping, and that it is
probably clearing memory for the large grid.
I have a hard time accepting this answer, because I use many other large
programs (Photoshop), and when I exit
these programs, I get the system back immediately.
I have tried many different ways to clear the grid before exiting my
program, but I still get the delay.
I am at a loss as to what to do. I really don't want to re-write the
program because of this.
Does anyone out there have any suggestions as to what the problem is and how
to get around it?
If not, can anyone suggest where to go to get help on this?
Thanks.