<?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 : Adding a Combo Box to Command Bar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Adding a Combo Box to Command Bar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 15:28:55 +0000</pubDate>
  <lastBuildDate>Thu, 01 Mar 2007 12:20:48 +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=6539</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[Adding a Combo Box to Command Bar : That worked.  Thanks for your...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6539&amp;PID=20837&amp;title=adding-a-combo-box-to-command-bar#20837</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2528">shagge22</a><br /><strong>Subject:</strong> 6539<br /><strong>Posted:</strong> 01 March 2007 at 12:20pm<br /><br />That worked.<br /><br />Thanks for your help...]]>
   </description>
   <pubDate>Thu, 01 Mar 2007 12:20:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6539&amp;PID=20837&amp;title=adding-a-combo-box-to-command-bar#20837</guid>
  </item> 
  <item>
   <title><![CDATA[Adding a Combo Box to Command Bar : I did the following with a Ribbon....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6539&amp;PID=20835&amp;title=adding-a-combo-box-to-command-bar#20835</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1790">jcollier</a><br /><strong>Subject:</strong> 6539<br /><strong>Posted:</strong> 01 March 2007 at 11:31am<br /><br />I did the following with a Ribbon.&nbsp; I'm not sure if it's the 'preferred' method, but it worked.<br><br>In General Declarations:<br><br>Dim FilterCombo as CommandBarComboBox<br><br>In function that creates the ribbonbar:<br><br>Dim ControlCombo As CommandBarComboBox<br><br>Set ControlCombo = GroupContainer.Add(xtpControlComboBox, ID_FILTERCONTAINERLIST, "Filter")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ControlCombo.Width = 200<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ControlCombo.DropDownListStyle = False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ControlCombo.EditHint = "Container Filter..."<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ControlCombo.AddItem "Find Unbilled Containers Due Today"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ControlCombo.AddItem "Find Unbilled Containers Past Due"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ControlCombo.AddItem "Find Unbilled Containers Not Past Due"<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set FilterCombo = ControlCombo<br><br>'then use FilterCombo to call events.&nbsp; You'll have to alter it a bit for 'command bars but I hope this helps.<br>]]>
   </description>
   <pubDate>Thu, 01 Mar 2007 11:31:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6539&amp;PID=20835&amp;title=adding-a-combo-box-to-command-bar#20835</guid>
  </item> 
  <item>
   <title><![CDATA[Adding a Combo Box to Command Bar : I am adding a combo box to a command...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6539&amp;PID=20832&amp;title=adding-a-combo-box-to-command-bar#20832</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2528">shagge22</a><br /><strong>Subject:</strong> 6539<br /><strong>Posted:</strong> 01 March 2007 at 11:00am<br /><br />I am adding a combo box to a command bar. I need to display a text string that is much longer than the size of the combo box. Is there a way to expand the width of the combo box? I am using version 10.3.<br /><br />Code:<br />Dim Control As CommandBarControl<br />Dim PresetBar As CommandBar<br /><br />Set PresetBar = Cmd_Bar.Add("Preset", xtpBarTop)<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />With PresetBar.Controls<br />&nbsp;&nbsp;&nbsp;&nbsp;Set Control = .Add(xtpControlLabel, ID_PRESET_LABEL, <br />&nbsp;&nbsp;&nbsp;&nbsp;"Saved Scanner Presets:")<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;Set Control = .Add(xtpControlComboBox, <br />&nbsp;&nbsp;&nbsp;&nbsp;ID_PRESET_COMBO, "No Scanner Presets Available")<br />&nbsp;&nbsp;&nbsp;&nbsp;Control.Enabled = True<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;Set Control = .Add(xtpControlButton, <br />&nbsp;&nbsp;&nbsp;&nbsp;ID_PRESET_BUTTON, "")<br />&nbsp;&nbsp;&nbsp;&nbsp;Control.Caption = "Set Default"<br />End With<br />]]>
   </description>
   <pubDate>Thu, 01 Mar 2007 11:00:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6539&amp;PID=20832&amp;title=adding-a-combo-box-to-command-bar#20832</guid>
  </item> 
 </channel>
</rss>