<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : [SOLVED] Multi Column Combobox?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : [SOLVED] Multi Column Combobox?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 12:12:15 +0000</pubDate>
  <lastBuildDate>Wed, 11 Aug 2010 11:07:35 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=17099</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[[SOLVED] Multi Column Combobox? : Hi,I have resolved the dropdown...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17099&amp;PID=59751&amp;title=solved-multi-column-combobox#59751</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 17099<br /><strong>Posted:</strong> 11 August 2010 at 11:07am<br /><br />Hi,<br><br>I have resolved the dropdown list issue, it was caused with setting both the EnableMarkup and DroppedState to true in the GotFocus event.<br><br>Setting the combo to EnableMarkup in the form load event resolved the issue.<br><br><table width="99%"><tr><td><pre class="BBcode"><br>Private Sub ComboBox1_GotFocus()<br><br>&nbsp;&nbsp;&nbsp; With Me.ComboBox1<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .AutoComplete = True<br>&nbsp;&nbsp;&n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Grid&gt;"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .DroppedState = True<br><br>&nbsp;&nbsp;&nbsp; End With<br><br>End Sub<br><br>Private Sub Form_Load()<br>&nbsp;&nbsp;&nbsp; ComboBox1.EnableMarkup = True<br>End Sub<br></pre></td></tr></table><br>]]>
   </description>
   <pubDate>Wed, 11 Aug 2010 11:07:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17099&amp;PID=59751&amp;title=solved-multi-column-combobox#59751</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Multi Column Combobox? :   Hi,Thanks again for the info,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17099&amp;PID=59750&amp;title=solved-multi-column-combobox#59750</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 17099<br /><strong>Posted:</strong> 11 August 2010 at 10:49am<br /><br />Hi,<br><br>Thanks again for the info, I will check it out however I am just glad that the CJ Combo can display multiple columns.<br><br>I have tried the following code as a requirement of my projects is to use several Combo's as filters. But instead of loading the text directly I need to do this on focus of the control as for example in the screenshot I have attached I would require to filter down the Products based on the selected Brand.<br><br>However the following code fails to display the dropdown list. Any ideas?&nbsp; <br><br><table width="99%"><tr><td><pre class="BBcode"><br>Private Sub ComboBox1_GotFocus()<br>&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; With Me.ComboBox1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .AutoComplete = True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Clear<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .DropDownW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;&nbsp; Next<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .DroppedState = True<br>&nbsp;&nbsp;&nbsp; End With<br>&nbsp;&nbsp;&nbsp; <br>End Sub<br></pre></td></tr></table><br><br><img src="uploads/20100811_104643_Filter.png" height="544" width="252" border="0"><br>]]>
   </description>
   <pubDate>Wed, 11 Aug 2010 10:49:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17099&amp;PID=59750&amp;title=solved-multi-column-combobox#59750</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Multi Column Combobox? : Glad to help. Unfortunately, I&amp;#039;m...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17099&amp;PID=59749&amp;title=solved-multi-column-combobox#59749</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 17099<br /><strong>Posted:</strong> 11 August 2010 at 10:34am<br /><br />Glad to help.&nbsp; Unfortunately, I'm not aware of a way to determine the width of the longest row. One thing you could do, is set the width of the grid to the width of the ComboBox less the button/scrollbar width, and then set the TextWrapping property of your TextBlocks to Wrap. <br><br>This would all of the text in the drop-down list portion (and it would fit to the combobox width). The only drawback is that you would only see the first line of the text in the edit portion of the combobox.<br><br>Try this:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>Private Sub Form_Load()<br>&nbsp;&nbsp; Dim i As Long<br><br>&nbsp;&nbsp; With Me.ComboBox1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Style = xtpComboDropDownList<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .EnableMarkup = True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For i = 0 To 25<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .AddItem Chr$(65 + i)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .MarkupList(.NewIndex) = "&lt;Grid Width='" &amp; Me.ComboBox1.Width / Screen.TwipsPerPixelX - 24 &amp; "'&gt;&lt;Grid.ColumnDefinitions&gt;&lt;ColumnDefinition Width='50'/&gt;&lt;ColumnDefinition Width='*'/&gt;&lt;/Grid.ColumnDefinitions&gt;&lt;Grid.RowDefinitions&gt;&lt;RowDefinition/&gt;&lt;/Grid.RowDefinitions&gt;" &amp; _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "&lt;TextBlock TextWrapping='Wrap'&gt;" &amp; .List(i) &amp; "&lt;/TextBlock&gt;" &amp; _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "&lt;TextBlock TextWrapping='Wrap' Grid.Column='2'&gt;Column 2 Column 2 Column 2 Column 2 Column 2 Column 2 Column 2&lt;/TextBlock&gt;&lt;/Grid&gt;"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next i<br>&nbsp;&nbsp; End With<br>End Sub<br></pre></td></tr></table><br><br>In that sample, I use a fixed 24px to account for the button/vertical scrollbar, but you should use GetSystemMetrics API to get the actual value. I also used * for the width of the last column to tell it to use the available remaining width for that column. TextWrapping='Wrap' wraps the text at the cell edge.<br>]]>
   </description>
   <pubDate>Wed, 11 Aug 2010 10:34:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17099&amp;PID=59749&amp;title=solved-multi-column-combobox#59749</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Multi Column Combobox? : Thanks for that jpbro!!!It&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17099&amp;PID=59747&amp;title=solved-multi-column-combobox#59747</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 17099<br /><strong>Posted:</strong> 11 August 2010 at 10:21am<br /><br />Thanks for that jpbro!!!<br><br>It's so simple to use from your demo code.<br><br>Can I ask one other question, do you know how to change the dropdown list width automatically to the longest row in the list?<br><br>I can manually manipulate the width using the DropDownWidth method but it would be nice to have this autosize the list width if possible.<br><br>If not it's no big loss as the multiple column was what I was really looking for.<br>]]>
   </description>
   <pubDate>Wed, 11 Aug 2010 10:21:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17099&amp;PID=59747&amp;title=solved-multi-column-combobox#59747</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Multi Column Combobox? : If you just need a drop-down list...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17099&amp;PID=59746&amp;title=solved-multi-column-combobox#59746</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 17099<br /><strong>Posted:</strong> 11 August 2010 at 9:27am<br /><br />If you just need a drop-down list style combobox, then you can achieve a multi-column display using Markup.<br><br>Try this with a CJ ComboBox on a form:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>Private Sub Form_Load()<br>&nbsp;&nbsp; Dim i As Long<br><br>&nbsp;&nbsp; With Me.ComboBox1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Style = xtpComboDropDownList<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .EnableMarkup = True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For i = 0 To 25<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .AddItem Chr$(65 + i)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .MarkupList(.NewIndex) = "&lt;Grid&gt;&lt;Grid.ColumnDefinitions&gt;&lt;ColumnDefinition Width='50'/&gt;&lt;ColumnDefinition Width='100'/&gt;&lt;/Grid.ColumnDefinitions&gt;&lt;Grid.RowDefinitions&gt;&lt;RowDefinition/&gt;&lt;/Grid.RowDefinitions&gt;" &amp; _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "&lt;TextBlock&gt;" &amp; .List(i) &amp; "&lt;/TextBlock&gt;" &amp; _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "&lt;TextBlock Grid.Column='2'&gt;Column 2&lt;/TextBlock&gt;&lt;/Grid&gt;"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next i<br>&nbsp;&nbsp; End With<br>End Sub<br></pre></td></tr></table><br><br>This will give you a 2 column combobox. You use AddItem as you normally would to populate the list, and then use the MarkupList property to add your 2 column markup for each item.<br><br><br>]]>
   </description>
   <pubDate>Wed, 11 Aug 2010 09:27:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17099&amp;PID=59746&amp;title=solved-multi-column-combobox#59746</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Multi Column Combobox? :   Hi,I have had a look into...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17099&amp;PID=59740&amp;title=solved-multi-column-combobox#59740</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 17099<br /><strong>Posted:</strong> 11 August 2010 at 4:43am<br /><br />Hi,<br><br>I have had a look into the Codejock Controls and I am aware that the combobox does not support multiple columns <img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" /><br><br>This has always been a major issue with Visual Basic 6, I am aware however that using the "Microsoft Forms 2.0 Obkect Library" does allow this functionality however when used in combination with the Codejock SkinFrameWork the control does not skin!<br><br>Is there anyway of having a multiple column combobox in Visual Basic 6 that is skins correctly? If not, then I think this is a major must have to be added to the Codejock Combobox control.<br>]]>
   </description>
   <pubDate>Wed, 11 Aug 2010 04:43:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17099&amp;PID=59740&amp;title=solved-multi-column-combobox#59740</guid>
  </item> 
 </channel>
</rss>