<?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 More Sub Control Popup</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Adding More Sub Control Popup]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 08:31:36 +0000</pubDate>
  <lastBuildDate>Fri, 10 Mar 2017 06:02:17 +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=23286</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 More Sub Control Popup :   Khaled Eissa wrote:   Set...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23286&amp;PID=75617&amp;title=adding-more-sub-control-popup#75617</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23286<br /><strong>Posted:</strong> 10 March 2017 at 6:02am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Khaled Eissa" alt="Originally posted by Khaled Eissa" style="vertical-align: text-bottom;" /> <strong>Khaled Eissa wrote:</strong><br /><br /><div><span style="line-height: 1.4;">&nbsp; &nbsp; &nbsp;Set <font color="#99ff00"><b>Control3</b></font> = ControlOptions.CommandBar.Controls.Add(xtpControlPopup, 0, "Skins")</span></div><div><div>&nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp; &nbsp;Control3.CommandBar.Controls.Add xtpControlPopup, 0, "Windows Skins"</div><div>&nbsp; &nbsp; &nbsp;Control3.CommandBar.Controls.Add xtpControlPopup, 1, "Other Skins"</div><div><br></div><div>&nbsp; &nbsp; &nbsp;Set Control4 = <font color="#99ff00"><b>Control3</b></font>.CommandBar.Controls.Add(xtpControlButton, ID_SKINOPTIONS_OTHER, "Blue")</div></div><div><br></div><div>I want to add blue to the first "Wisndows Skins"</div><div>&amp; Black to "Other Skins"<span style="line-height: 1.4;"></td></tr></table><br><br>But you add "Blue" to&nbsp;</span><span style="line-height: 16.8px;">"Skins" (</span><span style="line-height: 16.8px;">Control3</span><span style="line-height: 16.8px;">)&nbsp;</span><img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" alt="Smile" title="Smile" /><span style="line-height: 16.8px;">&nbsp;<br><br></span><span style="line-height: 16.8px;">&nbsp;Set Control<b>4</b> =&nbsp;</span><span style="line-height: 16.8px;">Control3.CommandBar.Controls.Add xtpControlPopup, 0, "Windows Skins"<br></span><span style="line-height: 16.8px;">Set Control<b>5</b> = Control<b>4</b>.CommandBar.Controls.Add(xtpControlButton, ID_SKINOPTIONS_OTHER, "Blue")</span></div>]]>
   </description>
   <pubDate>Fri, 10 Mar 2017 06:02:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23286&amp;PID=75617&amp;title=adding-more-sub-control-popup#75617</guid>
  </item> 
  <item>
   <title><![CDATA[Adding More Sub Control Popup :  Hi all,I&amp;#039;m trying to add...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23286&amp;PID=75611&amp;title=adding-more-sub-control-popup#75611</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8187">Khaled Eissa</a><br /><strong>Subject:</strong> 23286<br /><strong>Posted:</strong> 08 March 2017 at 11:24am<br /><br /><div>Hi all,</div><div><br></div><div>I'm trying to add sub Control Popup but can not add Control Button to it. it goes wrong to main Control Popup.</div><div>any help</div><div><br></div><div>What I want is like in these two images</div><div><br></div><div>two sub Control Popup&nbsp;</div><div>I need to add Control Buttons to each one</div><div><br></div><div>here is my code</div><div><br></div><div><div>&nbsp; &nbsp; Set ControlOptions = RibbonBar.Controls.Add(xtpControlPopup, 0, "Options")</div><div>&nbsp; &nbsp; ControlOptions.Flags = xtpFlagRightAlign</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Dim Control2 As CommandBarControl</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Set Control = ControlOptions.CommandBar.Controls.Add(xtpControlPopup, 0, "Styles")</div><div>&nbsp; &nbsp; Control.CommandBar.Controls.Add xtpControlButton, ID_OPTIONS_STYLEBLUE2007, "Office 2007 Blue"</div><div>&nbsp; &nbsp; Control.CommandBar.Controls.Add xtpControlButton, ID_OPTIONS_STYLESILVER2007, "Office 2007 Silver"</div><div>&nbsp; &nbsp; Control.CommandBar.Controls.Add xtpControlButton, ID_OPTIONS_STYLEBLACK2007, "Office 2007 Black"</div><div>&nbsp; &nbsp; Set Control2 = Control.CommandBar.Controls.Add(xtpControlButton, ID_OPTIONS_STYLEAQUA2007, "Office 2007 Aqua")</div><div>&nbsp; &nbsp; Set Control2 = Control.CommandBar.Controls.Add(xtpControlButton, ID_OPTIONS_STYLEBLUE2010, "Office 2010 Blue")</div><div>&nbsp; &nbsp; Control2.BeginGroup = True</div><div>&nbsp; &nbsp; Control.CommandBar.Controls.Add xtpControlButton, ID_OPTIONS_STYLESILVER2010, "Office 2010 Silver"</div><div>&nbsp; &nbsp; Set Control2 = Control.CommandBar.Controls.Add(xtpControlButton, ID_OPTIONS_STYLEBLACK2010, "Office 2010 Black")</div><div>&nbsp; &nbsp; Set Control2 = Control.CommandBar.Controls.Add(xtpControlButton, ID_OPTIONS_STYLESCENIC7, "Windows 7 Scenic")</div><div>&nbsp; &nbsp; Control2.BeginGroup = True</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Dim Control3 As CommandBarControl</div><div>&nbsp; &nbsp; Dim Control4 As CommandBarControl</div><div>&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp;Set Control3 = ControlOptions.CommandBar.Controls.Add(xtpControlPopup, 0, "Skins")</div><div>&nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp; &nbsp;Control3.CommandBar.Controls.Add xtpControlPopup, 0, "Windows Skins"</div><div>&nbsp; &nbsp; &nbsp;Control3.CommandBar.Controls.Add xtpControlPopup, 1, "Other Skins"</div><div><br></div><div>&nbsp; &nbsp; &nbsp;Set Control4 = Control3.CommandBar.Controls.Add(xtpControlButton, ID_SKINOPTIONS_OTHER, "Blue")</div></div><div><br></div><div><br></div><div>I want to add blue to the first "Wisndows Skins"</div><div>&amp; Black to "Other Skins"</div><div><br></div><div><br></div><div><br></div><div><img src="uploads/8187/SKINSMENU.png" height="148" width="298" border="0" /><br></div><div><br></div><div><br></div><div><br></div><div><img src="uploads/8187/STYLEMENU.png" height="213" width="304" border="0" /><br></div>]]>
   </description>
   <pubDate>Wed, 08 Mar 2017 11:24:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23286&amp;PID=75611&amp;title=adding-more-sub-control-popup#75611</guid>
  </item> 
 </channel>
</rss>