<?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 : Gallery and Checked Item</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Gallery and Checked Item]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 17:40:30 +0000</pubDate>
  <lastBuildDate>Mon, 03 Sep 2007 05:56:36 +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=7893</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[Gallery and Checked Item : Hi,  Have to work. Think you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7893&amp;PID=25487&amp;title=gallery-and-checked-item#25487</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7893<br /><strong>Posted:</strong> 03 September 2007 at 5:56am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>Have to work. Think you modified our sample which is reset CheckedItem&nbsp; in Update handler.</DIV>]]>
   </description>
   <pubDate>Mon, 03 Sep 2007 05:56:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7893&amp;PID=25487&amp;title=gallery-and-checked-item#25487</guid>
  </item> 
  <item>
   <title><![CDATA[Gallery and Checked Item : How can I use the CheckedItem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7893&amp;PID=25422&amp;title=gallery-and-checked-item#25422</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3258">rupert</a><br /><strong>Subject:</strong> 7893<br /><strong>Posted:</strong> 28 August 2007 at 7:23pm<br /><br />How can I use the CheckedItem property? I have a gallery of icons and I am unable to get it to work. How can I display the 2nd item as checkeditem?<DIV>&nbsp;</DIV><DIV></DIV><DIV></DIV>I was trying to use this example code snippet.<DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; Set GroupStyles = TabWrite.Groups.AddGroup("&amp;Styles", ID_GROUP_STYLES)<BR>&nbsp;&nbsp;&nbsp; Dim GalleryStyles As CommandBarGallery<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Set ItemsStyles = CommandBars.CreateGalleryItems(ID_GALLERY_STYLES)<BR>&nbsp;&nbsp;&nbsp; ItemsStyles.Icons = ImageManagerGalleryStyles.Icons<BR>&nbsp;&nbsp;&nbsp; ItemsStyles.ItemWidth = 72<BR>&nbsp;&nbsp;&nbsp; ItemsStyles.ItemHeight = 56<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; For i = 1 To 16<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ItemsStyles.AddItem i, ""<BR>&nbsp;&nbsp;&nbsp; Next i<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Set GalleryStyles = GroupStyles.Add(xtpControlGallery, ID_GALLERY_STYLES, "Styles")<BR>&nbsp;&nbsp;&nbsp; GalleryStyles.Width = 235<BR>&nbsp;&nbsp;&nbsp; GalleryStyles.SetItemsMargin 0, 1, 0, 1<BR>&nbsp;&nbsp;&nbsp; GalleryStyles.ShowLabels = False<BR>&nbsp;&nbsp;&nbsp; GalleryStyles.ShowBorders = True<BR>&nbsp;&nbsp;&nbsp; Set GalleryStyles.Items = ItemsStyles<BR>&nbsp;&nbsp;&nbsp;&nbsp;GalleryStyles.CheckedItem = 2 <strong>' this does not work</strong>&nbsp; <BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Dim GalleryPopupBar As CommandBar<BR>&nbsp;&nbsp;&nbsp; Set GalleryPopupBar = CommandBars.Add("Styles", xtpBarPopup)<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; GalleryStyles.CommandBar = GalleryPopupBar<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Set GalleryStyles = GalleryPopupBar.Controls.Add(xtpControlGallery, ID_GALLERY_STYLES, "Styles")<BR>&nbsp;&nbsp;&nbsp; GalleryStyles.Width = 235 + 72<BR>&nbsp;&nbsp;&nbsp; GalleryStyles.Height = 56 * 3 + 2</DIV>]]>
   </description>
   <pubDate>Tue, 28 Aug 2007 19:23:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7893&amp;PID=25422&amp;title=gallery-and-checked-item#25422</guid>
  </item> 
 </channel>
</rss>