Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Virtual arrays and buttons.
Re: Virtual arrays and buttons. [message #44342 is a reply to message #44341] |
Tue, 24 February 2015 11:33   |
 |
mirek
Messages: 14261 Registered: November 2005
|
Ultimate Member |
|
|
rxantos wrote on Tue, 24 February 2015 11:04I have a virtual array of 100k+ or so items. But want to add some controls to the display of the visible items. Is there a way to do this without creating 100k+ buttons?
If no, then I will just use a menu item, but I wanted to check first.
No, you need those 100K buttons, unfortunately....
(But thinking about it, I got an interesting new idea how to perhaps solve this for future: What about adding a "column Ctrl" feature, which span the whole column, client code then could read line heights from ArrayCtrl and do what is needed.... in your case, this single Ctrl would represent 100K buttons).
|
|
|
Goto Forum:
Current Time: Sun Jun 22 15:55:50 CEST 2025
Total time taken to generate the page: 0.04342 seconds
|