Print Page | Close Window

Problem loading default command bar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=2346
Printed Date: 07 July 2024 at 6:59pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problem loading default command bar
Posted By: bcriswell
Subject: Problem loading default command bar
Date Posted: 08 June 2005 at 1:43pm

I'm evaluating the command bars product and I'm doing the Designer Tutorial (Tutorial 2).  I'm following the instructions but cannot get the default toolbar to appear.  A toolbar does appear but it doesn't have any icons.  I can add a path to an existing xcb file and it works.

CommandBars.LoadDesignerBars gives a blank toolbar(no buttons).

CommandBars.LoadDesignerBars App.Path & "\visio.xcb" displays a toolbar.

Do I have to create my own default toolbar before it will show up?




Replies:
Posted By: SuperMario
Date Posted: 08 June 2005 at 2:03pm
The default toolbar is nothing more than some "Designer Data" saved into the CommandBars object.  To clear this data, right-click on the control and select "Clear Designer Data".  To load your own file, select "Load CommandBars (*.xcb)" from the menu.  If you select the "Edit" option it will open the DesignerStudio.  Here is the default menu that should load. uploads/SuperMario/2005-06-08_140218_Form1.zip - 2005-06-08_140218_Form1.zip All you need to do is load it as described above. uploads/SuperMario/2005-06-08_140218_Form1.zip -


Posted By: bcriswell
Date Posted: 08 June 2005 at 3:04pm
Thanks SuperMario!  That did the trick.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net