I know there is a limit of 64 visible columns in a listbox but I’m reaching a limit of 256 for columncount having only a few visible at a time (less than 20).
Is there any alternative to have a listbox with a few thousand columns, displaying only a few? I believe Einhugur had one but can’t find it.
Maybe you could change your setup and keep a reference of the few columns to be seen (less than 20 vs thousand)
Then populate your listbox with the real data to be viewed.
Regarding that a canvas would be a very large one I believe the best method is follow Antonio’s advice and create subclass of listbox for only displaying a few but keeping rest of data. My main concern is getting a smooth scrolling effect .
Is this data for display only? (as in you don’t need to select a row or column, just scroll around and view it?)
If so, consider using HTMLviewer and creating a custom table.
The reason I mention this is that for a personal project… I am creating a “TV Guide” webpage (using plain HTML) that does exactly this
[quote=278485:@Dave S]Is this data for display only? (as in you don’t need to select a row or column, just scroll around and view it?)
If so, consider using HTMLviewer and creating a custom table.
The reason I mention this is that for a personal project… I am creating a “TV Guide” webpage (using plain HTML) that does exactly this[/quote]
The HTML table is a good idea. I used that in the first version of Fonts Manager. It has smooth scrolling. Unfortunately, the HTMLViewer started chocking after 10,000 fonts (each cell having its own font face). After I used an array, and a listbox just for display, that issue went away.