<?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 : Disabling Single Switch &amp; Setting Switch Width</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Disabling Single Switch &amp; Setting Switch Width]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 12 Jun 2026 03:50:54 +0000</pubDate>
  <lastBuildDate>Mon, 27 Oct 2008 16:09:01 +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=10546</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[Disabling Single Switch &amp; Setting Switch Width : Any chance of:1) Disable individual...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10546&amp;PID=42395&amp;title=disabling-single-switch-setting-switch-width#42395</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 10546<br /><strong>Posted:</strong> 27 October 2008 at 4:09pm<br /><br />Any chance of:<br><br>1) Disable individual switches<br>2) Set the switch width (for using bigger icons)?<br><br>&nbsp;for 12.1?&nbsp;]]>
   </description>
   <pubDate>Mon, 27 Oct 2008 16:09:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10546&amp;PID=42395&amp;title=disabling-single-switch-setting-switch-width#42395</guid>
  </item> 
  <item>
   <title><![CDATA[Disabling Single Switch &amp; Setting Switch Width : Just wondering if there was any...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10546&amp;PID=36696&amp;title=disabling-single-switch-setting-switch-width#36696</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 10546<br /><strong>Posted:</strong> 13 June 2008 at 1:39pm<br /><br />Just wondering if there was any word on whether the following might be implemented for the next release:<br><br><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Quote" alt="Quote" style="vertical-align: text-bottom;" /> <br>1) Is there a way to disable an individual <span ="highlight">switch</span> instead of the whole pane? In my app, sometimes a <span ="highlight">switch</span> will be applicable, and sometimes not. I could just remove the <span ="highlight">switch</span> when it's not applicable, but I think it would be better to disable it.<br><br>2) Is there any way to increase the width of the <span ="highlight">switch</span>es? I would like to be able to use a 16x16 icon but it is too big for the current background image for the <span ="highlight">switch</span> buttons. Setting an adequate height (via the StatusBar.MinHeight property) is easy, but changing the width of the <span ="highlight">switch</span> buttons eludes me.<br></td></tr></table><br><br>In particular, #1 would be very useful for my application.<br><br>Thanks.<br>]]>
   </description>
   <pubDate>Fri, 13 Jun 2008 13:39:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10546&amp;PID=36696&amp;title=disabling-single-switch-setting-switch-width#36696</guid>
  </item> 
  <item>
   <title><![CDATA[Disabling Single Switch &amp; Setting Switch Width : Hi,  Thanks Oleg  I was totally...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10546&amp;PID=34998&amp;title=disabling-single-switch-setting-switch-width#34998</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 10546<br /><strong>Posted:</strong> 09 May 2008 at 2:56am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Thanks Oleg</DIV><DIV>&nbsp;</DIV><DIV>I was totally going in the wrong direction <img src="https://forum.codejock.com/smileys/smiley18.gif" border="0">&nbsp;Now I'm&nbsp;clear with the property, this is a nice option to have.&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 09 May 2008 02:56:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10546&amp;PID=34998&amp;title=disabling-single-switch-setting-switch-width#34998</guid>
  </item> 
  <item>
   <title><![CDATA[Disabling Single Switch &amp; Setting Switch Width : Hi, Our RibbonSample shows it....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10546&amp;PID=34936&amp;title=disabling-single-switch-setting-switch-width#34936</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10546<br /><strong>Posted:</strong> 08 May 2008 at 9:25am<br /><br />Hi,<DIV>Our RibbonSample shows it.</DIV>]]>
   </description>
   <pubDate>Thu, 08 May 2008 09:25:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10546&amp;PID=34936&amp;title=disabling-single-switch-setting-switch-width#34936</guid>
  </item> 
  <item>
   <title><![CDATA[Disabling Single Switch &amp; Setting Switch Width : Hey Aaron,Instead of setting a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10546&amp;PID=34935&amp;title=disabling-single-switch-setting-switch-width#34935</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 10546<br /><strong>Posted:</strong> 08 May 2008 at 9:24am<br /><br />Hey Aaron,<br><br>Instead of setting a Checked property for an individual switch item, you set the Checked property to the ID of the item that you want checked for the StatusBarSwitchPane object. Here's an example:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>&nbsp;&nbsp; Dim objSwitchPane As XtremeCommandBars.StatusBarSwitchPane<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' Create View Switches<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set objSwitchPane = .StatusBar.AddSwitchPane(PANE_View)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With objSwitchPane<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .BeginGroup = True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .AddSwitch SWITCH_ViewReport, "Report View"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .AddSwitch SWITCH_ViewForm, "Form View"<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; ' Set the switch that is selected/checked &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Checked = SWITCH_ViewReport<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End With<br></pre></td></tr></table><br><br><br>]]>
   </description>
   <pubDate>Thu, 08 May 2008 09:24:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10546&amp;PID=34935&amp;title=disabling-single-switch-setting-switch-width#34935</guid>
  </item> 
  <item>
   <title><![CDATA[Disabling Single Switch &amp; Setting Switch Width :   oleg wrote:Hi,  Aaron, btw...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10546&amp;PID=34919&amp;title=disabling-single-switch-setting-switch-width#34919</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 10546<br /><strong>Posted:</strong> 08 May 2008 at 6:35am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br />Hi, <DIV>Aaron, btw switch can be checked/or not - its part of your code.</DIV></td></tr></table> <DIV>&nbsp;</DIV><DIV>Oleg,</DIV><DIV>&nbsp;</DIV><DIV>I don't see where I can check the switch??? Please provide a WORKING sample.</DIV>]]>
   </description>
   <pubDate>Thu, 08 May 2008 06:35:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10546&amp;PID=34919&amp;title=disabling-single-switch-setting-switch-width#34919</guid>
  </item> 
  <item>
   <title><![CDATA[Disabling Single Switch &amp; Setting Switch Width : Hi, Thanks, we will check what...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10546&amp;PID=34902&amp;title=disabling-single-switch-setting-switch-width#34902</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10546<br /><strong>Posted:</strong> 08 May 2008 at 3:14am<br /><br />Hi,<DIV>Thanks, we will check what can be done for future... Aaron, btw switch can be checked/or not - its part of your code.</DIV>]]>
   </description>
   <pubDate>Thu, 08 May 2008 03:14:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10546&amp;PID=34902&amp;title=disabling-single-switch-setting-switch-width#34902</guid>
  </item> 
  <item>
   <title><![CDATA[Disabling Single Switch &amp; Setting Switch Width : Hi,  I want to add something...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10546&amp;PID=34891&amp;title=disabling-single-switch-setting-switch-width#34891</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 10546<br /><strong>Posted:</strong> 08 May 2008 at 1:46am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I want to add something to your list of requests.</DIV><DIV>&nbsp;</DIV><DIV>*&nbsp;&nbsp;&nbsp; It would be nice when xtpThemeRibbon is applied that the switch background would be the same on both sides. </DIV><DIV>*&nbsp;&nbsp;&nbsp; When a switch is clicked you can not <strong>check</strong> the switch. I believe this feature has to be implemented to have a&nbsp;"switchbox" that will look like for example MS Word.&nbsp;&nbsp;&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Thanks in advance</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 08 May 2008 01:46:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10546&amp;PID=34891&amp;title=disabling-single-switch-setting-switch-width#34891</guid>
  </item> 
  <item>
   <title><![CDATA[Disabling Single Switch &amp; Setting Switch Width : Hi, The status bar switch pane...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10546&amp;PID=34886&amp;title=disabling-single-switch-setting-switch-width#34886</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 10546<br /><strong>Posted:</strong> 07 May 2008 at 6:39pm<br /><br />Hi,<br><br>&nbsp;&nbsp;&nbsp; The status bar switch pane is proving very useful for my application, so thank you! I have a couple of questions (requests if these options aren't available):<br><br>1) Is there a way to disable an individual switch instead of the whole pane? In my app, sometimes a switch will be applicable, and sometimes not. I could just remove the switch when it's not applicable, but I think it would be better to disable it.<br><br>2) Is there any way to increase the width of the switches? I would like to be able to use a 16x16 icon but it is too big for the current background image for the switch buttons. Setting an adequate height (via the StatusBar.MinHeight property) is easy, but changing the width of the switch buttons eludes me.<br><br>Thanks a lot!<br>]]>
   </description>
   <pubDate>Wed, 07 May 2008 18:39:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10546&amp;PID=34886&amp;title=disabling-single-switch-setting-switch-width#34886</guid>
  </item> 
 </channel>
</rss>