OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: honkinberry on July 16, 2010, 09:52:49 AM

Title: Listbox columns
Post by: honkinberry on July 16, 2010, 09:52:49 AM
I know I must be missing something, so I apologize in advance for what is clearly an easy fix.

I just want a simple 2-column listbox.

I have MultiColumn set to true, and ColumnWidth set to 35 (ample for my 2 characters in first column).

Yet when I pad the list strings, either with AddString or AddList (with "01\tTest") the first column width is always about 55.  Setting column width at runtime also seems to have no effect.

Thanks for any help!

--J
Title: Re: Listbox columns
Post by: owenwengerd on July 17, 2010, 07:54:42 AM
The problem here is that the description of the MultiColumn property is incorrect in the documentation.  It seems that multi-column has nothing to do with tab stops; rather, it means that the list arranges its items in columns such that once the list is filled to the bottom, the next item is added to a new column at the top of the listbox, and there is no vertical scrolling possible.

I will get the documentation corrected. I don't think there is any way currently to set the width of the tab stops.