Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listview - Advice populating on large amount of data
Message
 
To
28/01/2004 10:37:54
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00870942
Message ID:
00871726
Views:
16
>Hi Simon, Marcia, Erick and Terry
>
>Thanks for your repli..
>
>> and Simon said.. :)
>>
>>I use listboxes instead of grids and what I did was add several methods that handled the loading of a specified number of items. In my case I load 30 items and when the user scrolls past them I load the next 30 etc. They never know that I have not loaded the entire table. So I can handle an unlimited number of records this way.
>>
>30 items sounds good.. But, is there any kind of default.. I mean, any "wise number" to deal fine with listbox..
>
>About Treeview control.. We have that deal of "dummy" sub-node that we changed for sub-nodes on expand method.. This behavior works like a kind of community's standard (or Windows maybe).. My point is about to know if there is any "standard" for listview.. Following the idea of Simon we can fill it with 30 more.. But on listview (I believe) we don't have any method that works for specific behavior of scroll.. We can trap keypress (up,down) or mouse..
>
>What method exactly can be used to control it ? To use as standard..
>
>Tks


I trapped for upArrow, dnArrow, pgUp, pgDn and the mouse being down over the scrollUp/scrollDown buttons. I can email you the code for you to look at if it helps.

Simon
Simon White
dCipher Computing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform