ComboList with multiple columns

Started by Jürg Menzi · 2010-04-19 15:45 UTC · 12 replies · SMF topic #1258

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
Attachments
Hi, Jürg, try a \t between both parts.
(strcat strTitle "\t\t" strPath)

VG
Hi Fred

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

Cheers
Jürg
Hm, that's really bad...  :(

Fred
Hm, maybe it's worth to add a {2} to allow \t in comboboxes.

Fred
author=Fred Tomke link=topic=1258.msg6764#msg6764 date=1271749800 wrote:
Hm, maybe it's worth to add a {2} to allow \t in comboboxes.

Fred

Done...
Just curious, did you test with the Multicolumn property set to True?
I don't believe he could because there is none for the combobox...

Fred
Attachments
author=owenwengerd link=topic=1258.msg6809#msg6809 date=1272174738 wrote:
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
Juerg already added a feature request for this.
Hi Owen

May I ask for possible realisation schedule?

Cheers
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.
Hi Owen

Thanks for the response.
author=owenwengerd link=topic=1258.msg6934#msg6934 date=1276538035 wrote:
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