<?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 : Disable Popup Menu in Control Button</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Disable Popup Menu in Control Button]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 16:36:26 +0000</pubDate>
  <lastBuildDate>Tue, 09 Aug 2011 05:46:19 +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=18796</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[Disable Popup Menu in Control Button : thanks for the help.contained...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18796&amp;PID=65831&amp;title=disable-popup-menu-in-control-button#65831</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6961">idkami</a><br /><strong>Subject:</strong> 18796<br /><strong>Posted:</strong> 09 August 2011 at 5:46am<br /><br />thanks for the help.<br>contained the same error when I use the event to another object, and errors like this: "Object variable or with block variable not set"<br><br>but I've found a way to use commandbars_update:<br>thanks in advance.<br><br>if you can, use the click on CommandButton?]]>
   </description>
   <pubDate>Tue, 09 Aug 2011 05:46:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18796&amp;PID=65831&amp;title=disable-popup-menu-in-control-button#65831</guid>
  </item> 
  <item>
   <title><![CDATA[Disable Popup Menu in Control Button :  Hi,FindControl is worst way...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18796&amp;PID=65826&amp;title=disable-popup-menu-in-control-button#65826</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 18796<br /><strong>Posted:</strong> 09 August 2011 at 2:51am<br /><br />Hi,<div><br></div><div>FindControl is worst way for that. &nbsp;you need Update handler or Actions</div><div><br></div><div>call EnableActions before you create Ribbon and now you can Enable/Disable with</div><div><br></div><div><span ="apple-style-span"="">&nbsp;CommandBars.Actions(</span><span ="apple-style-span"="" style=": rgb248, 248, 252; "><i>ID_EDIT_SELECT_OBJECTS</i></span><span ="apple-style-span"="">).Enabled = False</span></div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Tue, 09 Aug 2011 02:51:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18796&amp;PID=65826&amp;title=disable-popup-menu-in-control-button#65826</guid>
  </item> 
  <item>
   <title><![CDATA[Disable Popup Menu in Control Button : samples in the folder just using...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18796&amp;PID=65810&amp;title=disable-popup-menu-in-control-button#65810</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6961">idkami</a><br /><strong>Subject:</strong> 18796<br /><strong>Posted:</strong> 08 August 2011 at 10:31am<br /><br /><span id="result_" ="short_text" lang="en"><span ="hps">samples</span> <span ="hps">in the folder</span> <span ="hps">just</span> <span ="hps">using</span> <span ="hps">syntax</span> <span ="hps">like this</span><span ="">:<br><i>&nbsp;&nbsp;&nbsp; Set ControlSelect = GroupFind.Add(xtpControlPopup, ID_EDIT_SELECT, "&amp;Select")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ControlSelect.CommandBar.Controls.Add xtpControlButton, ID_EDIT_SELECT_ALL, "&amp;Select All"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = ControlSelect.CommandBar.Controls.Add(xtpControlButton, ID_EDIT_SELECT_OBJECTS, "&amp;Select Objects")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.Enabled = False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = ControlSelect.CommandBar.Controls.Add(xtpControlButton, ID_EDIT_SELECT_MULTIPLE_OBJECTS, "Select Multiple Objects")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.Enabled = False<br><br></i></span></span><span id="result_" ="" lang="en"><i><span ="hps">and I</span> <span ="hps">want to</span> <span ="hps">disable</span> <span ="hps">by using the</span> <span ="hps atn">"</span><span>FindControl</span><span>"</span><span>.</span><br><span ="hps">I try</span> <span ="hps">to use</span> <span ="hps">syntax</span> <span ="hps">like this</span></i> <span><i>:<br><br>RibbonBar.FindControl(, ID_EDIT_SELECT_OBJECTS).Enabled = False<br></i><br></span></span><span id="result_" ="" lang="en"><span ="hps">turns</span> <span ="hps">an error like this</span><span ="">:<br></span></span><i><span id="result_" ="" lang="en"><span ="hps">"Object</span> <span ="hps">variable</span> <span ="hps">or</span> <span ="hps">with</span> <span ="hps">block</span> <span ="hps">variable</span> <span ="hps">not set</span></span>"</i><br><br><span id="result_" ="" lang="en"><span ="hps">what's the solution</span> <span ="hps">..</span> <span ="hps">Please</span> <span ="hps">help.</span><br> <span ="hps">I</span> <span ="hps">want to</span> <span ="hps">disable</span> <span ="hps">by</span> <span ="hps">using the</span> <span ="hps">function</span> <span ="hps">click on the</span> <span ="hps">CommandButton</span><br><br> <span ="hps">please</span> <span ="hps">help</span></span><br>]]>
   </description>
   <pubDate>Mon, 08 Aug 2011 10:31:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18796&amp;PID=65810&amp;title=disable-popup-menu-in-control-button#65810</guid>
  </item> 
  <item>
   <title><![CDATA[Disable Popup Menu in Control Button : Hi,You need implement Update event....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18796&amp;PID=65784&amp;title=disable-popup-menu-in-control-button#65784</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 18796<br /><strong>Posted:</strong> 08 August 2011 at 3:28am<br /><br />Hi,<div><br></div><div>You need implement Update event. Check any our sample in CommanBars folder.</div>]]>
   </description>
   <pubDate>Mon, 08 Aug 2011 03:28:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18796&amp;PID=65784&amp;title=disable-popup-menu-in-control-button#65784</guid>
  </item> 
  <item>
   <title><![CDATA[Disable Popup Menu in Control Button : I want to ask, how do I disable...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18796&amp;PID=65770&amp;title=disable-popup-menu-in-control-button#65770</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6961">idkami</a><br /><strong>Subject:</strong> 18796<br /><strong>Posted:</strong> 07 August 2011 at 5:02am<br /><br />I want to ask, how do I disable pop-up menu on the control button. For more details, like the following picture.<br><br>please help ---<br>thank's <br><br><img src="uploads/6961/disable.JPG" height="181" width="351" border="0" /><br>]]>
   </description>
   <pubDate>Sun, 07 Aug 2011 05:02:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18796&amp;PID=65770&amp;title=disable-popup-menu-in-control-button#65770</guid>
  </item> 
 </channel>
</rss>