|
-
Dec 20th, 2007, 06:37 AM
#5
Thread Starter
Addicted Member
Re: Is this the fastest / Best way to display Data?
 Originally Posted by Joacim Andersson
It would be sleightly faster since it doesn't have to lookup the item. However adding 9000 items to a listview would be a slow process. You could add a DoEvents call after each 200 item or so. That will make it take even longer to process the loop but at least the interface will be updated and it wont looked all freezed up. Simply declare a counter (as long) and add code simular to the following just before the Loop call.
Code:
nCounter = nCounter + 1
If nCounter Mod 200 = 0 Then
DoEvents
End If
Works better thanks, just one problem... it's flickering while doing it, anyway to prevent that?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|