OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: Juerg W. Menzi on April 19, 2010, 08:45:35 AM

Title: ComboList with multiple columns
Post by: Juerg W. Menzi on April 19, 2010, 08:45:35 AM
Hi all

Is there a way to create a combolist with multiple columns in the dropdown part? (see pic)
Until now I didn't found any solution.

Cheers
Jürg
Title: Re: ComboList with multiple columns
Post by: Fred Tomke on April 19, 2010, 11:53:52 AM
Hi, Jürg, try a \t between both parts.
Code (autolisp) Select
(strcat strTitle "\t\t" strPath)

VG
Title: Re: ComboList with multiple columns
Post by: Juerg W. Menzi on April 20, 2010, 12:42:58 AM
Hi Fred

Already tried, but Tab's are ignored...

Cheers
Jürg
Title: Re: ComboList with multiple columns
Post by: Fred Tomke on April 20, 2010, 12:47:33 AM
Hm, that's really bad...  :(

Fred
Title: Re: ComboList with multiple columns
Post by: Fred Tomke on April 20, 2010, 12:50:00 AM
Hm, maybe it's worth to add a feature request  (http://sourceforge.net/tracker/?group_id=187950&atid=923366) to allow \t in comboboxes.

Fred
Title: Re: ComboList with multiple columns
Post by: Juerg W. Menzi on April 20, 2010, 02:28:27 AM
Quote from: Fred Tomke on April 20, 2010, 12:50:00 AM
Hm, maybe it's worth to add a feature request  (http://sourceforge.net/tracker/?group_id=187950&atid=923366) to allow \t in comboboxes.

Fred
Done...
Title: Re: ComboList with multiple columns
Post by: owenwengerd on April 24, 2010, 10:52:18 PM
Just curious, did you test with the Multicolumn property set to True?
Title: Re: ComboList with multiple columns
Post by: Fred Tomke on April 25, 2010, 11:21:43 PM
I don't believe he could because there is none for the combobox...

Fred
Title: Re: ComboList with multiple columns
Post by: Fred Tomke on April 28, 2010, 01:14:49 PM
Quote from: owenwengerd on April 24, 2010, 10:52:18 PM
Just curious, did you test with the Multicolumn property set to True?

The combobox has no Multicolumn property, also in Alpha 26. Shall I add as bug report or feature request?

Fred
Title: Re: ComboList with multiple columns
Post by: owenwengerd on April 28, 2010, 07:11:24 PM
Juerg already added a feature request for this.
Title: Re: ComboList with multiple columns
Post by: Juerg W. Menzi on June 14, 2010, 05:23:32 AM
Hi Owen

May I ask for possible realisation schedule?

Cheers
Title: Re: ComboList with multiple columns
Post by: owenwengerd on June 14, 2010, 10:53:55 AM
I did some research, and found that there isn't any way to support tabbed columns in the built in control, so it will require a custom control.  Since this is a lot of work, it will not be possible until a future version.  It might be possible to fake your own custom combo in the meantime by using a modeless form with a standard listbox for the dropdown list.
Title: Re: ComboList with multiple columns
Post by: Juerg W. Menzi on June 15, 2010, 06:32:18 AM
Hi Owen

Thanks for the response.
Quote from: owenwengerd on June 14, 2010, 10:53:55 AM
It might be possible to fake your own custom combo in the meantime by using a modeless form with a standard listbox for the dropdown list.
Seems an usable workaround.

Cheers