<?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 : Catching event inside class</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Catching event inside class]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 07:14:31 +0000</pubDate>
  <lastBuildDate>Mon, 29 Aug 2011 02:49: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=18866</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[Catching event inside class : To bad :( Anyone else? ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18866&amp;PID=66075&amp;title=catching-event-inside-class#66075</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7014">terjep</a><br /><strong>Subject:</strong> 18866<br /><strong>Posted:</strong> 29 August 2011 at 2:49am<br /><br />To bad :( Anyone else?]]>
   </description>
   <pubDate>Mon, 29 Aug 2011 02:49:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18866&amp;PID=66075&amp;title=catching-event-inside-class#66075</guid>
  </item> 
  <item>
   <title><![CDATA[Catching event inside class : Hi,Also don&amp;#039;t see quick solution.Thinkyou...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18866&amp;PID=66051&amp;title=catching-event-inside-class#66051</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 18866<br /><strong>Posted:</strong> 26 August 2011 at 4:32am<br /><br />Hi,<div><br></div><div>Also don't see quick solution.&nbsp;</div><div>Think&nbsp;you can only wrap CommandBars to some UserControl and place it to each form instead or should add function call with each CommandBars_Execute.</div>]]>
   </description>
   <pubDate>Fri, 26 Aug 2011 04:32:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18866&amp;PID=66051&amp;title=catching-event-inside-class#66051</guid>
  </item> 
  <item>
   <title><![CDATA[Catching event inside class : We have a common custom class...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18866&amp;PID=66045&amp;title=catching-event-inside-class#66045</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7014">terjep</a><br /><strong>Subject:</strong> 18866<br /><strong>Posted:</strong> 26 August 2011 at 3:43am<br /><br />We have a common custom class for the ribbon used by every forms in our application which have (simplified) a <i>Public Function SetupMenu(ByRef theMenu As Object) </i>where theMenu is the CommandBars added to a form.<br><div><br></div><div>Inside SetupMenu I have added a new quick access button which I want to take care of the event for inside our custom common class without having to call a class function from the xx_Execute() in every form in the application.</div><div><br></div><div><i>Set Ribbonbar = theMenu.AddRibbonBar("The Ribbon")</i></div><div><i>Set Control = Ribbonbar.QuickAccessControls.Add(xtpControlButton, ix, "Feedback")</i></div><div><br></div><div>I have tried with&nbsp;<i>Private WithEvents Feedback As CommandBars </i>but doesn't get it to work at all. It works great with keybindings, but this isn't what I need.</div><div><i><br></i></div><div><i>Private WithEvents FeedbackKeys As KeyBindings</i></div><div><i>Set FeedbackKeys = theMenu.KeyBindings</i></div><div><i><br></i></div><div>I have tried multiple ways of setting the Feedback but havn't got anyone of them working, either I get type mismatch error or my custom event handler doesn't get called at all.</div><div><br></div><div>Any suggestions?</div>]]>
   </description>
   <pubDate>Fri, 26 Aug 2011 03:43:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18866&amp;PID=66045&amp;title=catching-event-inside-class#66045</guid>
  </item> 
 </channel>
</rss>