<?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 : ShortCut Bar with Panes</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : ShortCut Bar with Panes]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 18:23:56 +0000</pubDate>
  <lastBuildDate>Wed, 07 Apr 2004 20:21:38 +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=602</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[ShortCut Bar with Panes : Sorry for the delay. Using ShortcutBar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=602&amp;PID=1572&amp;title=shortcut-bar-with-panes#1572</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=229">robs</a><br /><strong>Subject:</strong> 602<br /><strong>Posted:</strong> 07 April 2004 at 8:21pm<br /><br /><P>Sorry for the delay. Using ShortcutBar Codejock sample, add a form called frmTasks</P><P>1. Add the button to frmPaneCalendar named btnTasks</P><P>Code:</P><P>Private Sub btnTasks_Click()<BR>&nbsp;&nbsp;&nbsp; Load frmTasks<BR>&nbsp;&nbsp;&nbsp; Set ItemMain = MainBar.AddItem(9, "Tasks", frmTasks.hWnd)<BR>End Sub</P><P>2. Add a standard module with a public variable</P><P>Code:</P><P>Public MainBar As XtremeSuiteControls.ShortcutBar</P><P>3. Set the public variable in the form_load of frmMain</P><P>Code:</P><P>Set MainBar = wndShortcutBar</P><P>&nbsp;</P><P>This works for me. It adds a new item to the collection and when clicked, shows frmTasks.</P><P>Good luck!</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Wed, 07 Apr 2004 20:21:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=602&amp;PID=1572&amp;title=shortcut-bar-with-panes#1572</guid>
  </item> 
  <item>
   <title><![CDATA[ShortCut Bar with Panes : If you have a minute, could you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=602&amp;PID=1566&amp;title=shortcut-bar-with-panes#1566</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=447">bjoeylouie</a><br /><strong>Subject:</strong> 602<br /><strong>Posted:</strong> 06 April 2004 at 9:57pm<br /><br /><P>If you have a minute, could you post your code for items 1, 2 and 3 above?&nbsp; I'd like to duplicate your sample... this will help me find my error.</P><P>Thanks</P>]]>
   </description>
   <pubDate>Tue, 06 Apr 2004 21:57:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=602&amp;PID=1566&amp;title=shortcut-bar-with-panes#1566</guid>
  </item> 
  <item>
   <title><![CDATA[ShortCut Bar with Panes : Should be: Private Sub btnTasks_Click()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=602&amp;PID=1565&amp;title=shortcut-bar-with-panes#1565</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=229">robs</a><br /><strong>Subject:</strong> 602<br /><strong>Posted:</strong> 06 April 2004 at 9:38pm<br /><br /><P>Should be:</P><P>Private Sub btnTasks_Click()<BR>&nbsp;&nbsp;&nbsp; Load frmTasks<BR>&nbsp;&nbsp;&nbsp; Set ItemMain = MainBar.AddItem(9, "Tasks", frmTasks.hWnd)<BR>End Sub</P><P>Sorry if this doesn't work. I was able to get this to work in the ShortcutBar sample by:</P><P>1. Adding a button to frmPaneCalendar (this has the btnTasks_click() event)</P><P>2. Adding the standard module with the public variable.</P><P>3. Setting the public variable in the form_load of frmMain.</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Tue, 06 Apr 2004 21:38:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=602&amp;PID=1565&amp;title=shortcut-bar-with-panes#1565</guid>
  </item> 
  <item>
   <title><![CDATA[ShortCut Bar with Panes : Still not working, same error...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=602&amp;PID=1564&amp;title=shortcut-bar-with-panes#1564</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=447">bjoeylouie</a><br /><strong>Subject:</strong> 602<br /><strong>Posted:</strong> 06 April 2004 at 9:32pm<br /><br /><P>Still not working, same error message - no error number is provided.&nbsp; To review what I did:</P><P>In the Main Form with the shortcut bar add:&nbsp;</P><P>Set MainBar = wndMainShortcutBar</P><P>Add a Module named MainBar.bas&nbsp;&nbsp;with this code:&nbsp;&nbsp;</P><P>Public MainBar As XtremeSuiteControls.ShortcutBar</P><P>Here is the button click event:</P><P>Private Sub btnTasks_Click()<BR>&nbsp;&nbsp;&nbsp; Load frmTasks<BR>&nbsp;&nbsp;&nbsp; Set ItemMain = wndMainShortcutBar.AddItem(9, "Tasks", frmTasks.hWnd)<BR>End Sub</P>]]>
   </description>
   <pubDate>Tue, 06 Apr 2004 21:32:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=602&amp;PID=1564&amp;title=shortcut-bar-with-panes#1564</guid>
  </item> 
  <item>
   <title><![CDATA[ShortCut Bar with Panes : In the main form with the shortcutbar: set...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=602&amp;PID=1558&amp;title=shortcut-bar-with-panes#1558</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=229">robs</a><br /><strong>Subject:</strong> 602<br /><strong>Posted:</strong> 05 April 2004 at 11:26pm<br /><br /><P>In the main form with the shortcutbar:</P><P>set mainBar = wndMainShortCutBar instead of set mainBar = wndMainBar</P><P>Does this help? If not, what is that error number? Thanks</P><P>&nbsp;</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 05 Apr 2004 23:26:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=602&amp;PID=1558&amp;title=shortcut-bar-with-panes#1558</guid>
  </item> 
  <item>
   <title><![CDATA[ShortCut Bar with Panes : thanks, I&amp;#039;m now getting this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=602&amp;PID=1556&amp;title=shortcut-bar-with-panes#1556</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=447">bjoeylouie</a><br /><strong>Subject:</strong> 602<br /><strong>Posted:</strong> 05 April 2004 at 11:17pm<br /><br />thanks, I'm now getting this error message<br><br>"Expected procedure or variable, not module<br>]]>
   </description>
   <pubDate>Mon, 05 Apr 2004 23:17:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=602&amp;PID=1556&amp;title=shortcut-bar-with-panes#1556</guid>
  </item> 
  <item>
   <title><![CDATA[ShortCut Bar with Panes : bjoeylouie, Is it breaking on...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=602&amp;PID=1554&amp;title=shortcut-bar-with-panes#1554</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=229">robs</a><br /><strong>Subject:</strong> 602<br /><strong>Posted:</strong> 05 April 2004 at 10:48pm<br /><br /><P>bjoeylouie,</P><P>Is it breaking on Set ItemTaks = wndMainBar.AddItem(9, "Tasks", frmTasks.hWnd) ? </P><P>Object Required? If so, try this, of not sorry I couldn't help...</P><P>Try adding this to a standard module:</P><P>Public mainBar As XtremeSuiteControls.ShortcutBar</P><P>Add this to the main form with the shortcutbar:</P><P>set mainBar = wndMainBar</P><P>Then in btnTasks_clic():</P><P>load frmTasks</P><P>mainBar.AddItem 9,"Tasks",frmTasks.hWnd</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 05 Apr 2004 22:48:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=602&amp;PID=1554&amp;title=shortcut-bar-with-panes#1554</guid>
  </item> 
  <item>
   <title><![CDATA[ShortCut Bar with Panes : I have 2 short cut bars on a form...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=602&amp;PID=1552&amp;title=shortcut-bar-with-panes#1552</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=447">bjoeylouie</a><br /><strong>Subject:</strong> 602<br /><strong>Posted:</strong> 05 April 2004 at 10:24pm<br /><br />I have 2 short cut bars on a form named wndLeftShortCutBar and wndMainShortCutBar.&nbsp; There are several Panes<br>in the wndLeftShortCutBar as follows:<br><br>Sub CreateShortcutBar()<br>&nbsp;&nbsp;&nbsp; .<br>&nbsp;&nbsp;&nbsp; .<br>&nbsp;&nbsp;&nbsp; . &nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; Set ItemMail = wndLeftShortCutBar.AddItem(1, "Mail", frmPaneMail.hWnd)<br>&nbsp;&nbsp;&nbsp; Set Item = wndLeftShortCutBar.AddItem(2, "Calendar", frmPaneCalendar.hWnd)<br>&nbsp;&nbsp;&nbsp; Set Item = wndLeftShortCutBar.AddItem(3, "Tasks", frmPaneTasks.hWnd)<br>&nbsp;&nbsp;&nbsp; .<br>&nbsp;&nbsp;&nbsp; .<br>&nbsp;&nbsp;&nbsp; .<br><br>frmPaneTasks has several buttons which when clicked will display in wndMainBar.<br><br>My question:<br><br>How do I display different forms in the wndMainBar by clicking on a button<br>in wndLeftBar pane?<br><br>I tried the following with no luck.<br><br>Private Sub btnTasks_Click()<br>&nbsp;&nbsp;&nbsp; Dim ItemTasks As IShortcutBarItem<br>&nbsp;&nbsp;&nbsp; Load frmTasks<br>&nbsp;&nbsp;&nbsp; Set ItemTasks = wndMainBar.AddItem(9, "Tasks", frmTasks.hWnd)<br>End Sub&nbsp;&nbsp;&nbsp; <br><br>Wonder if you could help me with this?<br><br>bJoeyLouie <br>]]>
   </description>
   <pubDate>Mon, 05 Apr 2004 22:24:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=602&amp;PID=1552&amp;title=shortcut-bar-with-panes#1552</guid>
  </item> 
 </channel>
</rss>