<?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 : How can I identify a galleryitem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : How can I identify a galleryitem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 04:40:05 +0000</pubDate>
  <lastBuildDate>Wed, 22 Jun 2011 08:20:29 +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=18580</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[How can I identify a galleryitem : Hi Peter,  That&amp;#039;s exactly...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18580&amp;PID=64986&amp;title=how-can-i-identify-a-galleryitem#64986</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=841">Fabian</a><br /><strong>Subject:</strong> 18580<br /><strong>Posted:</strong> 22 June 2011 at 8:20am<br /><br />Hi Peter,<DIV>&nbsp;</DIV><DIV>That's exactly was I looked for!</DIV><DIV>&nbsp;</DIV><DIV>Thanks, thanks, thaks <img src="http://forum.codejock.com/smileys/smiley32.gif" border="0" title="Clap" alt="Clap" /></DIV><DIV>&nbsp;</DIV><DIV>Fabian</DIV>]]>
   </description>
   <pubDate>Wed, 22 Jun 2011 08:20:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18580&amp;PID=64986&amp;title=how-can-i-identify-a-galleryitem#64986</guid>
  </item> 
  <item>
   <title><![CDATA[How can I identify a galleryitem : Hello Fabian,you have to catch...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18580&amp;PID=64985&amp;title=how-can-i-identify-a-galleryitem#64985</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3156">Peter59</a><br /><strong>Subject:</strong> 18580<br /><strong>Posted:</strong> 22 June 2011 at 7:23am<br /><br />Hello Fabian,<br><br>you have to catch the corresponding CommandBarGallery object, which has an ID Property (assigned with the AddItem method of the CommandBarGalleryItems object). See for instance RibbonSample: <br><br><table width="99%"><tr><td><pre class="BBcode"><br>Private Sub CommandBars_Execute(ByVal Control As XtremeCommandBars.ICommandBarControl)<br><br>&nbsp;&nbsp;&nbsp; Select Case Control.id<br>&nbsp;&nbsp;&nbsp; Case ...<br>&nbsp;&nbsp;&nbsp; Case ID_GALLERY_STYLES:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim Gallery As CommandBarGallery<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Gallery = Control<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Not Gallery.SelectedItem Is Nothing Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SelectedStyle = Gallery.SelectedItem.Id<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp; Case Else<br>&nbsp;&nbsp;&nbsp; End Select<br><br>End Sub<br><br></pre></td></tr></table><br><br>Good luck, <br>Peter<br>]]>
   </description>
   <pubDate>Wed, 22 Jun 2011 07:23:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18580&amp;PID=64985&amp;title=how-can-i-identify-a-galleryitem#64985</guid>
  </item> 
  <item>
   <title><![CDATA[How can I identify a galleryitem : If I click on a galleryitem the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18580&amp;PID=64983&amp;title=how-can-i-identify-a-galleryitem#64983</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=841">Fabian</a><br /><strong>Subject:</strong> 18580<br /><strong>Posted:</strong> 22 June 2011 at 5:53am<br /><br />If I click on a galleryitem the Control.ID in the Excute event is always the id of the control hosting the items. But I need an identification of the clicked gallery item.<DIV>&nbsp;</DIV><DIV>I am sure I miss something</DIV><DIV>Can someone please help?</DIV><DIV>&nbsp;</DIV><DIV>Thanks in advance</DIV><DIV>Fabian</DIV>]]>
   </description>
   <pubDate>Wed, 22 Jun 2011 05:53:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18580&amp;PID=64983&amp;title=how-can-i-identify-a-galleryitem#64983</guid>
  </item> 
 </channel>
</rss>