<?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 : HOW to HIDE and ITEM?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : HOW to HIDE and ITEM?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 21:09:24 +0000</pubDate>
  <lastBuildDate>Tue, 09 Oct 2007 01:25:15 +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=8312</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[HOW to HIDE and ITEM? : Hello,  CommandBars.Actions(ID_PREF_REA).Visible...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8312&amp;PID=27090&amp;title=how-to-hide-and-item#27090</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8312<br /><strong>Posted:</strong> 09 October 2007 at 1:25am<br /><br />Hello,<DIV><DIV><FONT color=#cc0000>CommandBars.Actions(ID_PREF_REA).Visible = False.</FONT></DIV><DIV><?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><?:NAMESPACE PREFIX = O /><O:P>have to work.<DIV></DIV>Think you enabled actions after create controls. Have to call it before you create any control.<DIV></DIV>See Actions sample.</O:P></DIV></DIV>]]>
   </description>
   <pubDate>Tue, 09 Oct 2007 01:25:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8312&amp;PID=27090&amp;title=how-to-hide-and-item#27090</guid>
  </item> 
  <item>
   <title><![CDATA[HOW to HIDE and ITEM? :  First we appreciate greatly...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8312&amp;PID=27016&amp;title=how-to-hide-and-item#27016</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3320">aimcorp</a><br /><strong>Subject:</strong> 8312<br /><strong>Posted:</strong> 05 October 2007 at 12:10pm<br /><br /><FONT size=3><FONT face="Times New Roman"><DIV>First we appreciate greatly your answer, so what we say here is with good intentions:</DIV><DIV>&nbsp;</DIV><DIV>====================================================</DIV><DIV><FONT color=#cc0000></FONT>&nbsp;</DIV><DIV><FONT color=#cc0000>CommandBars.Actions(ID_PREF_REA).Visible = False.<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><O:P></O:P></FONT></FONT></FONT></DIV><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><O:P><FONT face="Times New Roman" size=3>&nbsp;</FONT></O:P></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="FONT-FAMILY: 'Arrus BT'"><FONT size=3>Not working <SPAN style="mso-spacerun: yes">&nbsp;&nbsp;</SPAN>return MDIform error<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><O:P><FONT face="Times New Roman" size=3>&nbsp;</FONT></O:P></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><FONT size=3><FONT face="Times New Roman"><FONT color=#cc0000>or jsut use FindControl method, find this control and set its Visible propety to False.<O:P></O:P></FONT></FONT></FONT></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="FONT-FAMILY: 'Arrus BT'"><O:P><FONT size=3>&nbsp;</FONT></O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="FONT-FAMILY: 'Arrus BT'"><FONT size=3>Not working <SPAN style="mso-spacerun: yes">&nbsp;&nbsp;</SPAN>return MDIform error<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="FONT-FAMILY: 'Arrus BT'"><O:P><FONT size=3>&nbsp;</FONT></O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="FONT-FAMILY: 'Arrus BT'"><FONT size=3>The solucion is to set the CommandBar PUBLIC!!<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="FONT-FAMILY: 'Arrus BT'"><O:P><FONT size=3>&nbsp;</FONT></O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="FONT-FAMILY: 'Arrus BT'"><FONT size=3>All your samples showed DIM, we assume DIM will work on the MDI since is there located, but we have to set it Public if we want it to work (we had a hard time to figure it out).<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="FONT-FAMILY: 'Arrus BT'"><O:P><FONT size=3>&nbsp;</FONT></O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="FONT-FAMILY: 'Arrus BT'"><FONT size=3>Anyway we insist that your help file should be more specific, by giving a simple sample for each command you use on it.</P><DIV>&nbsp;</DIV><DIV></FONT></SPAN><SPAN style="FONT-FAMILY: 'Arrus BT'"><FONT size=3>Below is what we mean:&nbsp;&nbsp;Your help file say something like this<O:P></O:P></FONT></SPAN></DIV><H4 style="MARGIN: auto 0in"><FONT face="Times New Roman">Control Property<!--DX end --></FONT></h4><H4 style="MARGIN: auto 0in"><FONT face="Times New Roman">Description<O:P></O:P></FONT></h4><P><FONT size=3><FONT face="Times New Roman">Gets the collection of controls on the command bar.<O:P></O:P></FONT></FONT></P><H4 style="MARGIN: auto 0in"><!--DX end --><!--DX start ="PropertyAccessDei&#111;n" at="<h4 =dxh4>$$Property_Type$$</h4><P>%%PropertyAccessDescription%%</P>" --><FONT face="Times New Roman">Property type<O:P></O:P></FONT></h4><P><FONT size=3><FONT face="Times New Roman">Read-only property<O:P></O:P></FONT></FONT></P><H4 style="MARGIN: auto 0in"><!--DX end --><!--DX start ="Syntax" lang="VB" at="<div =Specific Name=Syntax_VB><h4 =dxh4>$$Syntax$$ (Visual Basic)</h4><P>%%Syntax%%</P></DIV>" --><FONT face="Times New Roman">Syntax (Visual Basic)<O:P></O:P></FONT></h4><PRE><FONT size=2><strong><SPAN style="FONT-FAMILY: 'Courier New'">Public Property Controls</SPAN></strong>()<SPAN style="FONT-FAMILY: 'Courier New'"><strong> As </strong><a href="mk:@MSITStore:D:\VB6\Xtreme%20SuitePro\Help\SymbolReference.chm::/XtremeCommandBars~CommandBarC&#111;ntrols.html" target="_blank"><strong><FONT face="Courier New" color=#800080>CommandBarControls</FONT></strong></A></SPAN><O:P></O:P></FONT></PRE><H4 style="MARGIN: auto 0in"><!--DX end --><!--DX start ="edItemList" scrap="ETERS_LIST" namespace="eter" source="Item" ="" at="<h4 =dxh4>$$ParameterList$$</h4>%%filtereditemlist%%" --><!--DX end --><!--DX start ="TaggedComment" source="Item" id="##RETURNS" at="<h4 =dxh4>$$Return_Type$$</h4><P>%%comment%%</P>" --><!--DX end --><!--DX start ="TaggedComment" source="Item" id="##REMARKS" at="<h4 =dxh4>$$Remarks$$</h4><P>%%comment%%</P>" --><!--DX end --><!--DX start ="sourcecode" at="<h4 =dxh4>$$Source_Code$$</h4><table border=0 cellpadding=0 cellspacing=0 =sourcecode><tr><td nowrap>%%sourcecode%%</td></tr></table>" --><!--DX end --><!--DX start ="TaggedComment" source="Item" id="##EXAMPLEINTRO" at="<h4 =dxh4>$$Example$$</h4><P>%%comment%%</P>" --><!--DX end --><!--DX start ="edItemList" scrap="INLINE_EXAMPLE" namespace="Example" source="Item" ="=inline" Noer="True" NoFooter="True" at="%%taggedcomment:source=item,id=##EXAMPLEINTRO,blankat=<h4 =dxh4>$$Example$$</h4>,format= %%%%filtereditemlist%%" --><!--DX end --><!--DX start ="edItemList" scrap="MENU_" namespace="seealso" source="Item" ="" Noer="True" NoFooter="True" at="<h4 =dxh4>$$See_Also$$</h4><p id=dxseealsoc&#111;ntent>%%filtereditemlist%%</P>" --><FONT face="Times New Roman">See Also<O:P></O:P></FONT></h4><p id=dxseealsoc&#111;ntent><a href="mk:@MSITStore:D:\VB6\Xtreme%20SuitePro\Help\SymbolReference.chm::/XtremeCommandBars~CommandBar.html" target="_blank"><FONT face="Times New Roman" color=#800080 size=3>CommandBar Object</FONT></A><FONT size=3><FONT face="Times New Roman"> <O:P></O:P></FONT></FONT></P><P><O:P><FONT face="Times New Roman" size=3>&nbsp;</FONT></O:P></P><!--DX end --><!--DX start ="edItemList" scrap="MENU_" namespace="example" source="Item" ="=ed" Noer="True" NoFooter="True" at="<h4 =dxh4>$$Example$$</h4><p id=dxseealsoc&#111;ntent>%%filtereditemlist%%</P>" --><!--DX end --><!--DX start ="Variable" name="CopyrightNotice" at="<P>&nbsp;</P><P>&nbsp;</P><hr size=1><P>%%variable%%</P>" --><P><SPAN style="FONT-FAMILY: 'Arrus BT'"><FONT size=3>It ended there, no any single sample for the syntax and how to use it<O:P></O:P></FONT></SPAN></P><P><SPAN style="FONT-FAMILY: 'Arrus BT'"><FONT size=3>A short line for example <O:P></O:P></FONT></SPAN></P><P style="TEXT-INDENT: 0.5in"><SPAN style="FONT-FAMILY: 'Arrus BT'"><FONT size=3>Set Control = .CommandBar.Controls.Add(xtpControlButton, ID_PREF_DCO, "Deactivate Copy")<O:P></O:P></FONT></SPAN></P><SPAN style="FONT-FAMILY: 'Arrus BT'"><FONT size=3><DIV>Will make the help file more useful</DIV><DIV>&nbsp;</DIV><DIV>Thanks!<O:P></O:P></FONT></SPAN></DIV>]]>
   </description>
   <pubDate>Fri, 05 Oct 2007 12:10:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8312&amp;PID=27016&amp;title=how-to-hide-and-item#27016</guid>
  </item> 
  <item>
   <title><![CDATA[HOW to HIDE and ITEM? : Hello,  All our samples have...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8312&amp;PID=27009&amp;title=how-to-hide-and-item#27009</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8312<br /><strong>Posted:</strong> 05 October 2007 at 10:49am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>All our samples have Update handler please check how it works.</DIV><DIV>&nbsp;</DIV><DIV>You need add flag variable that indicates that control need to hide/show and in update handler add</DIV><DIV>&nbsp;</DIV><DIV>Private Sub CommandBars_Update(ByVal Control As XtremeCommandBars.ICommandBarControl)<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; On Error Resume Next<BR>&nbsp;&nbsp;&nbsp; Select Case Control.Id<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case ID_PREF_REA:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.Visible = bControlVisible</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; End Select<BR>End Sub<BR></DIV><DIV>...</DIV><DIV>&nbsp;</DIV><DIV>or you can enable actions:</DIV><DIV>CommandBars.EnableActions</DIV><DIV>&nbsp;</DIV><DIV>and call</DIV><DIV>CommandBars.Actions(ID_PREF_REA).Visible = False.</DIV><DIV>...</DIV><DIV>or jsut use FindControl method, find this control and set its Visible propety to False.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>have no idea what you did 2 days :-)</DIV>]]>
   </description>
   <pubDate>Fri, 05 Oct 2007 10:49:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8312&amp;PID=27009&amp;title=how-to-hide-and-item#27009</guid>
  </item> 
  <item>
   <title><![CDATA[HOW to HIDE and ITEM? : We&#8217;re looking over the entire...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8312&amp;PID=26995&amp;title=how-to-hide-and-item#26995</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3320">aimcorp</a><br /><strong>Subject:</strong> 8312<br /><strong>Posted:</strong> 05 October 2007 at 8:27am<br /><br /><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Arrus BT'; mso-ansi-: EN-US"><FONT size=3>We’re looking over the entire help file for answers before coming to this forum, also we looked the included samples, however we find the help file&nbsp;very poor on explanations; you click F1 over a command and the help file popped up with the command syntax, but for almost all commands there’s no source code explaining how to use it.<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Arrus BT'; mso-ansi-: EN-US"><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Arrus BT'; mso-ansi-: EN-US"><FONT size=3>Anyway, been two days now that we’re looking the way to hide and unhide an item on a toolbar (ribbonbar) and didn’t find the way to do it from code unless we call it on the MDI form at the beginning.<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Arrus BT'; mso-ansi-: EN-US"><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 'Arrus BT'; mso-ansi-: EN-US">Set ControlPreferences = RibbonBar.Controls.Add(xtpControlPopup, 5, "Preferencias")<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 'Arrus BT'; mso-ansi-: EN-US">With ControlPreferences</SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 'Arrus BT'; mso-ansi-: EN-US"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>.CommandBar.Controls.Add xtpControlButton, ID_PREF_REA, "Reactivate Warnings"<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 'Arrus BT'; mso-ansi-: EN-US"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>.CommandBar.Controls.Add(xtpControlButton, ID_PREF_EDE, "Specialist Data")<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 'Arrus BT'; mso-ansi-: EN-US"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>.Flags = xtpFlagRightAlign: .ToolTipText = "": .Width = 80<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 'Arrus BT'; mso-ansi-: EN-US"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>End With<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 'Arrus BT'; mso-ansi-: EN-US"><o:p>&nbsp;</o:p></SPAN></P><SPAN style="FONT-FAMILY: 'Arrus BT'; mso-ansi-: EN-US"><FONT size=3><SPAN style="FONT-FAMILY: 'Arrus BT'; mso-ansi-: EN-US"><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Arrus BT'; mso-ansi-: EN-US">We want to hide <o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Arrus BT'; mso-ansi-: EN-US"><o:p>&nbsp;</o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 'Arrus BT'; mso-ansi-: EN-US"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>.CommandBar.Controls.Add xtpControlButton, ID_PREF_REA, "Reactivate Warnings"<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Arrus BT'; mso-ansi-: EN-US"><o:p>&nbsp;</o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Arrus BT'; mso-ansi-: EN-US">…from code and probably unhide it later<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Arrus BT'; mso-ansi-: EN-US"><o:p>&nbsp;</o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Arrus BT'; mso-ansi-: EN-US">Is there a way to accomplish this?<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"></SPAN><SPAN style="FONT-FAMILY: 'Arrus BT'; mso-ansi-: EN-US">&nbsp;<o:p></o:p></SPAN></P><DIV><DIV><DIV><DIV><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"></FONT></SPAN><SPAN style="mso-ansi-: EN-US"><FONT size=3><FONT face="Times New Roman"></P><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV>Ariel Maisonet</DIV></DIV></DIV></DIV><DIV></DIV><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt">Aim Corporation<o:p></o:p></FONT></FONT></SPAN></P>]]>
   </description>
   <pubDate>Fri, 05 Oct 2007 08:27:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8312&amp;PID=26995&amp;title=how-to-hide-and-item#26995</guid>
  </item> 
 </channel>
</rss>