I am trying to figure out how to work with a multiple-column listbox.
The doco clearly shows how to create the Listbox as multi-colum:
-multicolumn => 0/1 (default 0)
but it says nothing about how to add/insert multicolumn items. Also, the
Win32::GUI::Listbox::Item documentation is, shall we say, rather sparse.
I tried using the Add, AddString, InsertItem, and InsertString methods,
and tried them multiple ways, but nothing seems to work. Below is a
sample of some code that I tried:
$box->InsertItem([qw(One Uno Un Ein January)]);
$box->InsertItem([qw(Two Dos Deux Zwei February)]);
$box->InsertItem([qw(Three Tres Trois Drei March)]);
$box->InsertItem([qw(Four Cuatro Quatro Vier April)]);
How do you do this?
Eric J. Roode