List Box - Multi column

Started by Jim Short, December 21, 2012, 06:22:07 AM

Previous topic - Next topic

Jim Short

OpenDCL help states:  If this property is set, the control displays its items in multiple columns instead of a single continuous list. A multiple column list can be scrolled horizontally, but not vertically. This property does not affect the width of tab stops.

When I set this I got a vertical scroll bar. Is the above underlined statement correct?
Jim Short

owenwengerd

I don't think a report style listview can be multi-column. Have you tested with other styles?
Owen Wengerd (Outside The Box) / ManuSoft

Jim Short

No. Did not think of that. Yes, it does not work with report  style.
I think the editor behaves strangely when multi-column is checked.
Nothing happens, but when reopened a vertical scroll bar appears.
Unchecked, nothing happens, reopened scroll bar disappears.
Jim Short

owenwengerd

I just realized that you are talking about the listbox, not the listview. I think that reference to the scrolling is an error in the documentation. Apparently the listbox control does not update correctly if the scroll bar is added or removed after the control is initially created, which is typical for the older Windows controls.
Owen Wengerd (Outside The Box) / ManuSoft