Posts: 1,271
Threads: 399
Joined: Mar 2003
how do i fill a multicolumn listbox in a dialog ?
can such listbox have column titles like in your dialog explorer example ?
Posts: 12,066
Threads: 140
Joined: Dec 2002
Like all listboxes.
Listbox cannot have column headers.
Posts: 1,271
Threads: 399
Joined: Mar 2003
i know only:
str controls = "3 4"
str e3 lb4
lb4="abde[]abcd[]&abcdef"
if(!ShowDialog("dialog_test" &dialog_test &controls)) ret
and
int hwnd=id(4 win("Suche" "#32770"))
_s="huhu"
SendMessage hwnd LB_ADDSTRING 0 _s
but both only will fill the first column.
Posts: 12,066
Threads: 140
Joined: Dec 2002
Fills first column, then second ...
Posts: 1,271
Threads: 399
Joined: Mar 2003
i think we misunderstand each other.
i mean it like:
row1:column1->column2->column3
row2:column1->column2->column3
row3:column1->column2->column3
data comes via database query ...
Posts: 12,066
Threads: 140
Joined: Dec 2002
Multicolumn listboxes are not used for this. Use SysListView32.
Posts: 12,066
Threads: 140
Joined: Dec 2002
Also you can use QM_Grid control. Example - Accessible object logging dialog.
Summing Column In QM Grid