OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: Jim Short on December 21, 2012, 06:22:07 AM

Title: List Box - Multi column
Post by: Jim Short on December 21, 2012, 06:22:07 AM
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?
Title: Re: List Box - Multi column
Post by: owenwengerd on December 21, 2012, 08:46:08 AM
I don't think a report style listview can be multi-column. Have you tested with other styles?
Title: Re: List Box - Multi column
Post by: Jim Short on December 23, 2012, 06:16:41 AM
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.
Title: Re: List Box - Multi column
Post by: owenwengerd on December 23, 2012, 09:47:03 AM
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.