Re: Faster addLVItem's
- Posted by mistertrik at hotmail.com Jul 23, 2002
- 378 views
Try not putting everything in the list.... only the current page, and a little above and below. So, when the user scrolls, change the contents of the list, and fix the current position of the cursor so it looks all neat. Don't know what to do about the scroll bars though... maybe if you made a listview the exact size of the selection that you are showing, and make a separate scrollbar nestling next to it so that it looks the same as a regular listview. So, just hook up that scrollbar to your page-changing code. Just don't ask me for an example, and you'll be fine. ===================================================== .______<-------------------\__ / _____<--------------------__|=== ||_ <-------------------/ \__| Mr Trick >From: rswiston at hotmail.com >Reply-To: EUforum at topica.com >To: EUforum <EUforum at topica.com> >Subject: Faster addLVItem's >Date: Tue, 23 Jul 2002 16:40:40 -0600 > > >Does anyone know how to speed up the adding of item to a list view. I have >a database of over 30,000 records and it uploads quit nicely... However, >when I go to put that data into a list view, it slows everything down and >takes quite alot of time! > >Anyone have any suggestions? > > > >