Re: Virtual grid
From: Norm Cook (normcookNOSPAM_at_cableone.net)
Date: 07/01/04
- Next message: adv_at_hclick.co.il: "RE: Error during sending Email with MAPIMessages object"
- Previous message: Norm Cook: "Re: Invalid procedure call with collection"
- In reply to: Bob: "Virtual grid"
- Next in thread: Bob: "Re: Virtual grid"
- Reply: Bob: "Re: Virtual grid"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 1 Jul 2004 09:07:27 -0500
If I understand correctly, just ditch the array & load the data directly to the grid. You can refer to/retrieve data from the grid
as easily as from the array. Populating the grid from a file will be somewhat slower than from an array (memory), but that's the
price you pay. If the array has to exist for other reasons, then so be it and don't worry about the duplication. BTW, you can
speed up populating the grid by setting its Visible property to false while loading. If the amount of data is so large that it
causes a bottleneck, then you may want to rethink your design.
"Bob" <anonymous@discussions.microsoft.com.invalid> wrote in message news:eOGymisXEHA.2364@TK2MSFTNGP12.phx.gbl...
> Hello all:
>
> I was wondering if anyone knows of any place where I can get the code for
> free for a virtual grid (similar to the virtual listview on VBVision). I
> have a large matrix or 2D array. Should the user needs to see the matrix, I
> want to display it in a flexgrid control. Of course I can do it with the
> existing grid controls in VB, but I would be duplicating the information.
> Because of this, the memory is doubled, and the speed is very slow. Since I
> already have the information in memory in an array, all I want to do is
> display it without the other over heads.
>
> Thanks for your help.
>
> Bob
>
>
>
- Next message: adv_at_hclick.co.il: "RE: Error during sending Email with MAPIMessages object"
- Previous message: Norm Cook: "Re: Invalid procedure call with collection"
- In reply to: Bob: "Virtual grid"
- Next in thread: Bob: "Re: Virtual grid"
- Reply: Bob: "Re: Virtual grid"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|