Página 1 de 1

Multi-Column Listbox Questions

Publicado: Jue Oct 15, 2009 4:31 pm
por Simon White
Hi
I cannot find any documentation that tells me how to enter items in to the
aItems array to create a multicolumn list box. If try a number of different
delimiters without success. Also can you have columns of different widths?
Thanks,
Simon

Multi-Column Listbox Questions

Publicado: Lun Oct 19, 2009 9:06 pm
por jlalin
Simon,
sorry for the late anwser, I been away from my computer these last days.
> I cannot find any documentation that tells me how to enter items in to the
> aItems array to create a multicolumn list box. If try a number of different
> delimiters without success. Also can you have columns of different widths?
You need to set the :lMultiColumn property to true and :nColsWidth to the
width of the column.
The items are entered as in a standar ListBox, but you only will see the
columns if ListBox is not tall enough to show all of them. For example: add
ten items to your listbox and change its height with the mouse to be shorter.
Regards,
José Lalí­n

Multi-Column Listbox Questions

Publicado: Mar Oct 20, 2009 3:02 pm
por Simon White
Hi
I did that but I am still not clear on how I ensure some values appear in
Column 1 and other values appear in column 2.
Simon
=?ISO-8859-1?Q?Jos=E9_Lal=EDn?= <dezac_quitaesto_@corevia.com> wrote:
>Simon,
>
>sorry for the late anwser, I been away from my computer these last days.
>
>> I cannot find any documentation that tells me how to enter items in to
=
>the
>> aItems array to create a multicolumn list box. If try a number of diff=
>erent
>> delimiters without success. Also can you have columns of different wid=
>ths?
>
>You need to set the :lMultiColumn property to true and :nColsWidth to the=
>=20
>width of the column.
>
>The items are entered as in a standar ListBox, but you only will see the
=
>
>columns if ListBox is not tall enough to show all of them. For example:
a=
>dd=20
>ten items to your listbox and change its height with the mouse to be shor=
>ter.
>
>Regards,
>Jos=E9 Lal=EDn

Multi-Column Listbox Questions

Publicado: Mar Oct 20, 2009 9:49 pm
por jlalin
Simon,
> I did that but I am still not clear on how I ensure some values appear in
> Column 1 and other values appear in column 2.
IMO, the listbox's multicolumn mode is not a real mode since it depends on
the height of the control.
If you want to show data in real multicolumn mode give a try to
TArrayBrowse wich is far better.
Saludos,
José Lalí­n