<?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 : Multiple CommandbarC&#111;ntrols</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Multiple CommandbarC&#111;ntrols]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 11:51:01 +0000</pubDate>
  <lastBuildDate>Tue, 05 Jul 2005 04:40: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=2513</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[Multiple CommandbarC&#111;ntrols : Hello, I want to allow the softwareuser,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2513&amp;PID=7464&amp;title=multiple-commandbarcontrols#7464</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1240">jamesblast</a><br /><strong>Subject:</strong> 2513<br /><strong>Posted:</strong> 05 July 2005 at 4:40am<br /><br /><P><FONT face="Arial, Helvetica, sans-serif" size=2>Hello,</FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=2>I want to allow the softwareuser, to configure their menus as they want.</FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=2>there are two problems with it.</FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=2>*the user could add 2 controls of the same ID to a toolbar. Then I cant set this control to enabled=true/false in code, cos the second control is not reachable.</FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=2>i use this code to do so:</FONT></P><P><FONT face=Arial size=2>------------</FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=2>For each bar in CommandBars</FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=2>set menuitem=bar.findcontrol(,id,,true)</FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=2>menuitem.enabled=true</FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=2>next</FONT></P><P><FONT face=Arial size=2>----------</FONT></P><P><FONT face=Arial size=2>what could i do about that?</FONT></P><P><FONT face=Arial size=2>*after adding a control, and end the costumation, all the toolbarControls are enabled. why is that? how can I avoid this?</FONT></P><P><FONT face=Arial size=2>I got another question. how can I go through all the controls (ActiveMenu, Commandbars (Toolbars), DesignerControls) to enable/disable/show/hide them by ID performantly and short in code?</FONT></P><P><FONT face=Arial size=2>thank you!</FONT></P>]]>
   </description>
   <pubDate>Tue, 05 Jul 2005 04:40:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2513&amp;PID=7464&amp;title=multiple-commandbarcontrols#7464</guid>
  </item> 
 </channel>
</rss>