Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Populating a ListView in the background
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00792691
Message ID:
00792728
Views:
17
You might try filling the first 100 normally, and the rest in a timer event.



>Ok, Here is the thing:
>
> I want to use ListView to display the records in a given table, the problem is, and I'm pretty sure you guys are aware of this, that populating a Listview will take ages depending of the amount of recors of the table.
> Some of you would say, "Why don't you just use the Grid control to do so?" Well that is a valid question, eventhough that isn't the point, but The reason I want to use the ListView is because of certain feature it has that Grid doesn't have, example, 1.) the click on the header to arrange the list with out having to create a index for each field displayed, 2.) Rearrangement of columns, 3.) incremental search, etc.
>
> I know, I know, I am able to do this with Visual classes based on columns, grids, blah, blah, but the thing is i found easier just making a wrapper for the ListView that already has this features. So please focus in the main question which is:
>
> Is there any way to run an application on the background that after filling lets say a 100 records in the ListView, runs apart filling the rest of the fields. Meanwhile the user can have acces to the records already in the list with out having to wait for the other 2,000?
>
>any help will be very apreciated

Read about the greatest fraud in the history of mankind.
See TaxableIncome.net.
Previous
Reply
Map
View

Click here to load this message in the networking platform