Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Listbox multicolumn
#1
how do i fill a multicolumn listbox in a dialog ?
can such listbox have column titles like in your dialog explorer example ?
pi
#2
Like all listboxes.
Listbox cannot have column headers.
#3
i know only:

Code:
Copy      Help
str controls = "3 4"
str e3 lb4

lb4="abde[]abcd[]&abcdef"

if(!ShowDialog("dialog_test" &dialog_test &controls)) ret

and
Code:
Copy      Help
int hwnd=id(4 win("Suche" "#32770"))
_s="huhu"
SendMessage hwnd LB_ADDSTRING 0 _s

but both only will fill the first column.
pi
#4
Fills first column, then second ...
#5
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 ...
[Image: listview_example.jpg]
pi
#6
Multicolumn listboxes are not used for this. Use SysListView32.
#7
Also you can use QM_Grid control. Example - Accessible object logging dialog.

Summing Column In QM Grid


Forum Jump:


Users browsing this thread: 1 Guest(s)