<?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 : Combo DropDown/Gallery selection issue</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Combo DropDown/Gallery selection issue]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 05:13:44 +0000</pubDate>
  <lastBuildDate>Thu, 31 Jan 2008 11:12:30 +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=9157</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[Combo DropDown/Gallery selection issue : It doesn&amp;#039;t work. I&amp;#039;ve...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9157&amp;PID=30697&amp;title=combo-dropdown-gallery-selection-issue#30697</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3258">rupert</a><br /><strong>Subject:</strong> 9157<br /><strong>Posted:</strong> 31 January 2008 at 11:12am<br /><br />It doesn't work. I've confirmed that the gallery checked item is getting the correct ID. Yet the problem persists, every time the dropdown is clicked, the first item in the gallery is selected in the combo box.]]>
   </description>
   <pubDate>Thu, 31 Jan 2008 11:12:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9157&amp;PID=30697&amp;title=combo-dropdown-gallery-selection-issue#30697</guid>
  </item> 
  <item>
   <title><![CDATA[Combo DropDown/Gallery selection issue : Hi,  When you change it to False...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9157&amp;PID=30673&amp;title=combo-dropdown-gallery-selection-issue#30673</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9157<br /><strong>Posted:</strong> 31 January 2008 at 12:47am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>When you change it to False you must add Update handler to check corresponded item. See ID_GALLERY_STYLES handler.</DIV>]]>
   </description>
   <pubDate>Thu, 31 Jan 2008 00:47:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9157&amp;PID=30673&amp;title=combo-dropdown-gallery-selection-issue#30673</guid>
  </item> 
  <item>
   <title><![CDATA[Combo DropDown/Gallery selection issue : Hello Oleg, This issue can be...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9157&amp;PID=30667&amp;title=combo-dropdown-gallery-selection-issue#30667</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3258">rupert</a><br /><strong>Subject:</strong> 9157<br /><strong>Posted:</strong> 30 January 2008 at 7:43pm<br /><br /><P>Hello Oleg,</P><DIV>This issue can be reproduced in the VB project - Ribbon Sample, by making the following change:</DIV><DIV>&nbsp;</DIV><DIV>In the CreateRibbonBar routine, change</DIV><DIV>&nbsp;</DIV><DIV>Dim Combo As CommandBarComboBox<BR>Set Combo = GroupFont.Add(xtpControlComboBox, ID_FONT_FACE, "Font Face")<BR><strong>Combo.DropDownListStyle = True</strong></DIV><DIV><strong></strong>&nbsp;</DIV><DIV><strong>to</strong></DIV><DIV><strong></strong>&nbsp;</DIV><DIV>Dim Combo As CommandBarComboBox<BR>Set Combo = GroupFont.Add(xtpControlComboBox, ID_FONT_FACE, "Font Face")<BR><strong>Combo.DropDownListStyle = False</strong></DIV><DIV>&nbsp;</DIV><DIV>Now, run the example. Everytime you click on the dropdown for font face it will always select the 1st item in the&nbsp;list and revert to the selection made when it is closed.</DIV><DIV>&nbsp;</DIV><DIV>This is a bug according to me. Can you suggest&nbsp;a fix? </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 30 Jan 2008 19:43:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9157&amp;PID=30667&amp;title=combo-dropdown-gallery-selection-issue#30667</guid>
  </item> 
  <item>
   <title><![CDATA[Combo DropDown/Gallery selection issue : it only works realiably if DropDownListStyle...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9157&amp;PID=30231&amp;title=combo-dropdown-gallery-selection-issue#30231</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3258">rupert</a><br /><strong>Subject:</strong> 9157<br /><strong>Posted:</strong> 17 January 2008 at 1:56pm<br /><br />it only works realiably if&nbsp; DropDownListStyle = False for the combo box. If true, it works weirdly. The problem with setting it to false is that user can type anything into the combo box. Any ideas?]]>
   </description>
   <pubDate>Thu, 17 Jan 2008 13:56:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9157&amp;PID=30231&amp;title=combo-dropdown-gallery-selection-issue#30231</guid>
  </item> 
  <item>
   <title><![CDATA[Combo DropDown/Gallery selection issue : Hi, Please check our sample....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9157&amp;PID=30188&amp;title=combo-dropdown-gallery-selection-issue#30188</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9157<br /><strong>Posted:</strong> 16 January 2008 at 9:55am<br /><br />Hi,<DIV>Please check our sample. See how ID_GALLERY_STYLES works.</DIV>]]>
   </description>
   <pubDate>Wed, 16 Jan 2008 09:55:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9157&amp;PID=30188&amp;title=combo-dropdown-gallery-selection-issue#30188</guid>
  </item> 
  <item>
   <title><![CDATA[Combo DropDown/Gallery selection issue : Hi Oleg, I am using the example...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9157&amp;PID=30171&amp;title=combo-dropdown-gallery-selection-issue#30171</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3258">rupert</a><br /><strong>Subject:</strong> 9157<br /><strong>Posted:</strong> 16 January 2008 at 7:10am<br /><br />Hi Oleg,<DIV>I am using the example above and as you suggested I added an update handler. But it does not work.</DIV><DIV>I've created the handler as follows:</DIV><DIV>&nbsp;</DIV><DIV>Select Case Control.ID<BR>Case ID_SESSION_TYPE<BR>&nbsp;&nbsp;&nbsp; If (Control.Type = xtpControlGallery) Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set Control.CheckedItem=Control.SelectedItem</DIV><DIV>&nbsp;&nbsp;&nbsp; End If<BR>End Select</DIV><DIV>&nbsp;</DIV><DIV>What is wrong? I don't see the gallery firing any update events</DIV><DIV>&nbsp;</DIV><DIV>Thx</DIV>]]>
   </description>
   <pubDate>Wed, 16 Jan 2008 07:10:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9157&amp;PID=30171&amp;title=combo-dropdown-gallery-selection-issue#30171</guid>
  </item> 
  <item>
   <title><![CDATA[Combo DropDown/Gallery selection issue : Hi Oleg, I&amp;#039;ve not had much...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9157&amp;PID=29700&amp;title=combo-dropdown-gallery-selection-issue#29700</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3323">indices</a><br /><strong>Subject:</strong> 9157<br /><strong>Posted:</strong> 21 December 2007 at 9:13am<br /><br /><P>Hi Oleg,</P><P>I've not had much luck with this.</P><P>Thx</P>]]>
   </description>
   <pubDate>Fri, 21 Dec 2007 09:13:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9157&amp;PID=29700&amp;title=combo-dropdown-gallery-selection-issue#29700</guid>
  </item> 
  <item>
   <title><![CDATA[Combo DropDown/Gallery selection issue : Hi, You need set checked item...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9157&amp;PID=29696&amp;title=combo-dropdown-gallery-selection-issue#29696</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9157<br /><strong>Posted:</strong> 21 December 2007 at 1:10am<br /><br />Hi,<DIV>You need set checked item in update handler. Our samples show it.</DIV>]]>
   </description>
   <pubDate>Fri, 21 Dec 2007 01:10:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9157&amp;PID=29696&amp;title=combo-dropdown-gallery-selection-issue#29696</guid>
  </item> 
  <item>
   <title><![CDATA[Combo DropDown/Gallery selection issue : i am trying to create a combo...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9157&amp;PID=29672&amp;title=combo-dropdown-gallery-selection-issue#29672</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3323">indices</a><br /><strong>Subject:</strong> 9157<br /><strong>Posted:</strong> 20 December 2007 at 12:55pm<br /><br /><DIV>i am trying to create a combo dropdown with gallery.</DIV><DIV>&nbsp;</DIV><DIV>'----- Init code-----------</DIV><DIV>&nbsp;&nbsp;&nbsp; Set oCtlCmbMode = GroupRecordMode.Add(XtremeCommandBars.XTPControlType.xtpControlComboBox, ID_SESSION_TYPE, "")<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; With oCtlCmbMode<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Style = xtpButtonIconAndCaption<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Width = 150<BR>&nbsp;&nbsp;&nbsp; End With<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Set ItemsSession = CommandBars.CreateGalleryItems(ID_SESSION_TYPE)<BR>&nbsp;&nbsp;&nbsp; ItemsSession.Icons = Me.ImageManagerAnnotations.Icons<BR>&nbsp;&nbsp;&nbsp; ItemsSession.ItemWidth = 400<BR>&nbsp;&nbsp;&nbsp; ItemsSession.ItemHeight = 50</DIV><P>&nbsp;&nbsp;&nbsp; ItemsSession.AddItem ID_REC1, "Record A"<BR>&nbsp;&nbsp;&nbsp; ItemsSession.AddItem ID_REC2, "Record B"<BR>&nbsp;&nbsp;&nbsp; ItemsSession.AddItem ID_REC3, "Record C"<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Set oCmbSessionPopup = CommandBars.Add("Combo Popup", xtpBarComboBoxGalleryPopup)</P><P>&nbsp;&nbsp;&nbsp; Set GallerySession = oCmbSessionPopup.Controls.Add(xtpControlGallery, ID_SESSION_TYPE, "")</P><P>&nbsp;&nbsp;&nbsp; Set oCtlGallerySession = GallerySession<BR>&nbsp;&nbsp;&nbsp; GallerySession.Width = 300<BR>&nbsp;&nbsp;&nbsp; GallerySession.Height = 150<BR>&nbsp;&nbsp;&nbsp; GallerySession.Style = xtpButtonIconAndCaption<BR>&nbsp;&nbsp;&nbsp; GallerySession.ShowScrollbar = False<BR>&nbsp;&nbsp;&nbsp; Set GallerySession.Items = ItemsSession</P><P>&nbsp;&nbsp;&nbsp; Set oCtlCmbMode.CommandBar = oCmbSessionPopup</P><DIV></DIV>The issue i have here is that evrytime the dropdown is clicked, it will always select the first item in the gallery irrespextive of the selection in the dropdown. How can i address this? Thx.]]>
   </description>
   <pubDate>Thu, 20 Dec 2007 12:55:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9157&amp;PID=29672&amp;title=combo-dropdown-gallery-selection-issue#29672</guid>
  </item> 
 </channel>
</rss>