Jean-Luc Arnaud
2016-10-14 10:05:06 UTC
Hi all,
I never tried that, so some help or advice is welcome.
I have to deal with two Listboxes, one on the left, the other on the right.
When the first is empty (that is, 20 rows for my need), additional raws
are displayed in the right listbox.
Each row gets a lot of information, some displayed (cells), some hidden
(celltags).
In order to simplify my code, instead of managing two listboxes, I would
like to manage a 'ghost' hidden third listbox.
This last one will be updated (addrow, delererow, update of cells and
celltags) and then, its 20 first rows will be copied into the left
listbox, the remaining in the right one.
What's the best way to create the third listbox?
- Via code, i.e. ThirdListbox=New Listbox and setup of number of columns
and other parameters,
- Or as an object outside the window, or in the window but not visible.
Any suggestion welcome
TIA
I never tried that, so some help or advice is welcome.
I have to deal with two Listboxes, one on the left, the other on the right.
When the first is empty (that is, 20 rows for my need), additional raws
are displayed in the right listbox.
Each row gets a lot of information, some displayed (cells), some hidden
(celltags).
In order to simplify my code, instead of managing two listboxes, I would
like to manage a 'ghost' hidden third listbox.
This last one will be updated (addrow, delererow, update of cells and
celltags) and then, its 20 first rows will be copied into the left
listbox, the remaining in the right one.
What's the best way to create the third listbox?
- Via code, i.e. ThirdListbox=New Listbox and setup of number of columns
and other parameters,
- Or as an object outside the window, or in the window but not visible.
Any suggestion welcome
TIA
--
Jean-Luc Arnaud
_______________________________________________
Unsubscribe by sending a message to:
<nug-***@lists.xojo.com>
List Help: <***@xojo.com>
Jean-Luc Arnaud
_______________________________________________
Unsubscribe by sending a message to:
<nug-***@lists.xojo.com>
List Help: <***@xojo.com>