<?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 : Caption of control is not shown</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Caption of control is not shown]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 21:38:08 +0000</pubDate>
  <lastBuildDate>Wed, 11 Jan 2012 11:20:57 +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=19329</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[Caption of control is not shown :  I modified the ribbon sample,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19329&amp;PID=67391&amp;title=caption-of-control-is-not-shown#67391</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 19329<br /><strong>Posted:</strong> 11 January 2012 at 11:20am<br /><br />I modified the ribbon sample, note the control flags for the progress control:<div><br></div><div><div>&nbsp; &nbsp; Dim TabAdvanced As RibbonTab</div><div>&nbsp; &nbsp; Set TabAdvanced = RibbonBar.InsertTab(7, "&amp;Advanced")</div><div>&nbsp; &nbsp; TabAdvanced.Id = ID_TAB_ADVANCED</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Set ViewGroup = TabAdvanced.Groups.AddGroup("&amp;Advanced Controls", ID_GROUP_ADVANCED)</div><div>&nbsp; &nbsp; ViewGroup.ControlsCentering = True</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Set Control = ViewGroup.Add(xtpControlLabel, 0, "Indent")</div><div>&nbsp; &nbsp; Control.Style = xtpButtonCaption</div><div>&nbsp; &nbsp; Control.BeginGroup = True</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Set Control = CommandBars.CreateCommandBarControl("CXTPControlProgress")</div><div>&nbsp; &nbsp; ViewGroup.AddControl Control</div><div>&nbsp; &nbsp; Control.Width = 100</div><div>&nbsp; &nbsp; Control.Pos = 30</div><div>&nbsp; &nbsp; Control.Flags = xtpFlagWrapRow</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp; Set Control = CommandBars.CreateCommandBarControl("CXTPControlScrollBar")</div><div>&nbsp; &nbsp; ViewGroup.AddControl Control</div><div>&nbsp; &nbsp; Control.Width = 100</div><div>&nbsp; &nbsp; Control.BeginGroup = True</div><div>&nbsp;</div><div>&nbsp; &nbsp; Set Control = CommandBars.CreateCommandBarControl("CXTPControlScrollBar")</div><div>&nbsp; &nbsp; Control.ScrollBarStyle = xtpScrollStyleSlider</div><div>&nbsp; &nbsp; ViewGroup.AddControl Control</div><div>&nbsp; &nbsp; Control.Width = 100</div><div>&nbsp; &nbsp; Control.BeginGroup = True</div></div><div><br></div><div><br></div><div><img src="uploads/369/1-11-2012_11-21-25_AM.png" height="124" width="381" border="0" /><br></div><div><br></div>]]>
   </description>
   <pubDate>Wed, 11 Jan 2012 11:20:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19329&amp;PID=67391&amp;title=caption-of-control-is-not-shown#67391</guid>
  </item> 
  <item>
   <title><![CDATA[Caption of control is not shown : Ok, but the label is not on the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19329&amp;PID=67323&amp;title=caption-of-control-is-not-shown#67323</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7247">Stefan Überbacher</a><br /><strong>Subject:</strong> 19329<br /><strong>Posted:</strong> 04 January 2012 at 1:25am<br /><br /><font ="Apple-style-span" color="#333333" face="arial, sans-serif" size="3"><span ="Apple-style-span" style="line-height: normal;">Ok, but the label is not on the same level as the customcontrol. It should look like this (the customcontrol is a datetimepicker-control):</span></font><div><font ="Apple-style-span" color="#333333" face="arial, sans-serif" size="3"><span ="Apple-style-span" style="line-height: normal;"><br></span></font></div><div><font ="Apple-style-span" color="#333333" face="arial, sans-serif" size="3"><span ="Apple-style-span" style="line-height: normal;">Date: 04.01.2012</span></font></div><div><font ="Apple-style-span" color="#333333" face="arial, sans-serif" size="3"><span ="Apple-style-span" style="line-height: normal;"><br></span></font></div><div><span ="Apple-style-span" style="color: rgb51, 51, 51; font-family: arial, sans-serif; line-height: normal; font-size: medium; ">How do you do that in a ribbonbar?</span></div>]]>
   </description>
   <pubDate>Wed, 04 Jan 2012 01:25:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19329&amp;PID=67323&amp;title=caption-of-control-is-not-shown#67323</guid>
  </item> 
  <item>
   <title><![CDATA[Caption of control is not shown : You can just add a command and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19329&amp;PID=67320&amp;title=caption-of-control-is-not-shown#67320</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 19329<br /><strong>Posted:</strong> 03 January 2012 at 2:43pm<br /><br />You can just add a command and set the style to&nbsp;xtpControlLabel before this custom control.]]>
   </description>
   <pubDate>Tue, 03 Jan 2012 14:43:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19329&amp;PID=67320&amp;title=caption-of-control-is-not-shown#67320</guid>
  </item> 
  <item>
   <title><![CDATA[Caption of control is not shown :  Hi,I&amp;#039;ve added a custom...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19329&amp;PID=67239&amp;title=caption-of-control-is-not-shown#67239</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7247">Stefan Überbacher</a><br /><strong>Subject:</strong> 19329<br /><strong>Posted:</strong> 20 December 2011 at 2:51am<br /><br />Hi,<div><br></div><div>I've added a custom control to the commandbar, but the caption of the control is not shown. Why is that?</div><div><br></div><div>Stefan</div><div><br></div>]]>
   </description>
   <pubDate>Tue, 20 Dec 2011 02:51:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19329&amp;PID=67239&amp;title=caption-of-control-is-not-shown#67239</guid>
  </item> 
 </channel>
</rss>