<?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 : Trapping RibbonTab Execute Event</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Trapping RibbonTab Execute Event]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 07:17:50 +0000</pubDate>
  <lastBuildDate>Mon, 24 Mar 2008 20:54:48 +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=9953</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[Trapping RibbonTab Execute Event : When you select any control in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9953&amp;PID=32533&amp;title=trapping-ribbontab-execute-event#32533</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2958">wlcabral</a><br /><strong>Subject:</strong> 9953<br /><strong>Posted:</strong> 24 March 2008 at 8:54pm<br /><br />When you select any control in a ribbonBar e Execute() event is fired, the same occurs when you click on a Tab.<DIV>&nbsp;</DIV><DIV>we have some special Ids to identify this controls :</DIV><DIV>&nbsp;</DIV><DIV><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 'Courier New'">#DEFINE XTP_ID_RIBBONCONTROLTAB<SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>9604<SPAN style="mso-tab-count: 1">&nbsp; </SPAN><?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 'Courier New'">#DEFINE XTP_ID_RIBBONCUSTOMIZE<SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>9607<SPAN style="mso-tab-count: 1">&nbsp; </SPAN><o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 'Courier New'">#DEFINE XTP_ID_CUSTOMIZE_ADDORREMOVE<SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>9122<SPAN style="mso-tab-count: 1">&nbsp; </SPAN><o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 'Courier New'">#DEFINE XTP_ID_CUSTOMIZE_RESET<SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>9123<SPAN style="mso-tab-count: 1">&nbsp; </SPAN><o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 'Courier New'">#DEFINE XTP_ID_TOOLBAR_EXPAND<SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>9148<SPAN style="mso-tab-count: 1">&nbsp; </SPAN><o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 'Courier New'">#DEFINE XTP_ID_TOOLBAR_HIDE<SPAN style="mso-tab-count: 3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>9149<SPAN style="mso-tab-count: 1">&nbsp; </SPAN><o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 'Courier New'">#DEFINE XTP_ID_WORKSPACE_CANCEL<SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>9159<SPAN style="mso-tab-count: 1">&nbsp; </SPAN><o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 'Courier New'">#DEFINE XTP_ID_WINDOWLIST<SPAN style="mso-tab-count: 3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>35000<SPAN style="mso-tab-count: 1"> </SPAN><o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 'Courier New'">#DEFINE XTP_ID_WORKSPACE_ACTIONS<SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>35002<SPAN style="mso-tab-count: 1"> </SPAN><o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 'Courier New'">#DEFINE XTP_ID_TOOLBARLIST<SPAN style="mso-tab-count: 3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>59392</P><DIV></DIV><DIV></DIV><DIV></DIV><o:p><DIV>&nbsp;</DIV><DIV><FONT color=#000000>you need to check this ids in Execute event, this code (MS VFOXPRO) can give you&nbsp;some idea&nbsp;...</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000>if <FONT face="Courier New" color=#0000ff size=2>control</FONT><FONT face="Courier New" size=2>.</FONT><FONT face="Courier New" color=#0000ff size=2>id </FONT><FONT face="Courier New" size=2>= XTP_ID_RIBBONCONTROLTAB <DIV>&nbsp;&nbsp; oRibbon = control.parent</DIV><DIV>&nbsp;&nbsp; oTab = oRibbon.selectedTab</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;? oTab.Id, oTab.Caption</DIV><DIV>endif</FONT></FONT><FONT color=#000000></FONT></DIV></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV></o:p><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><o:p></o:p></SPAN>&nbsp;</P></DIV>]]>
   </description>
   <pubDate>Mon, 24 Mar 2008 20:54:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9953&amp;PID=32533&amp;title=trapping-ribbontab-execute-event#32533</guid>
  </item> 
  <item>
   <title><![CDATA[Trapping RibbonTab Execute Event : I have a RibbonBar with 5 tabs.I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9953&amp;PID=32530&amp;title=trapping-ribbontab-execute-event#32530</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3865">tbarnes8978</a><br /><strong>Subject:</strong> 9953<br /><strong>Posted:</strong> 24 March 2008 at 4:47pm<br /><br />I have a RibbonBar with 5 tabs.<br>I run my application and trying to identify which tab was clicked in the commandbar_even() event; but I can't find it anywhere.<br><br>I appreciate any help someone can give.<br><br>Thanks!<br><br>]]>
   </description>
   <pubDate>Mon, 24 Mar 2008 16:47:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9953&amp;PID=32530&amp;title=trapping-ribbontab-execute-event#32530</guid>
  </item> 
 </channel>
</rss>