How to add columns to ListBox

Started by Jim Short, December 21, 2012, 07:02:32 AM

Previous topic - Next topic

Jim Short

(dcl_ListBox_AddList Std_GridTest_ListBox1 '("A" "B"))
(dcl_ListBox_AddString Std_GridTest_ListBox1 '("A" "B"))
(dcl_ListBox_AddList Std_GridTest_ListBox1 "A" "B")
(dcl_ListBox_AddString Std_GridTest_ListBox1 "A" "B")

The above adds 8 rows. Multi Column checked true in design

Will a list box display two columns as addressable data like list view?
Jim Short

Jim Short

Checking the web, I read where there is no such thing as a multi-column list box.
Jim Short

owenwengerd

In a listbox, you use tab characters in your item text to align at the next column.
Owen Wengerd (Outside The Box) / ManuSoft

Jim Short

How does one control the number of spaces in a tab?
Jim Short

Fred Tomke

Hi, Jim, I think there are normally 8 chars for each tab. In my opinion Microsoft controls that. Don't know where it could be changed.
Regards, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

Jim Short

Jim Short

Jim Short

Jim Short