Print Page | Close Window

Beginner's trouble with CommandBars

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=8140
Printed Date: 18 June 2025 at 2:00am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Beginner's trouble with CommandBars
Posted By: upeters
Subject: Beginner's trouble with CommandBars
Date Posted: 24 September 2007 at 1:57pm
Hello,

I have three questions concerning menu bars and tool bars.

1) Could somebody please explain me how to get rid of the arrow which displays the "Toolbar Options"?


2) The context menu allows me to hide the menu bar and/or the tool bar, but once both are hidden, I get no menu to bring any of them back. How do I avoid this?


3) In Form_Initialize, I placed this line:
CommandBarsGlobalSettings.ResourceFile = App.Path & "/SuitePro.ResourcePtBr.dll"
I believe this should load the localized resources, which are present in the same folder as the application. However, as you can see, the messages are still shown in English. How do I have to proceed to display the translated text instead of "Add or Remove Buttons"?


(I am using SuitePro 11.2.0)

Thank you in advance,
Ulrich



Replies:
Posted By: SuperMario
Date Posted: 24 September 2007 at 3:08pm
1. http://codejock.com/support/articles/com/commandbars/cb_2.asp - http://codejock.com/support/articles/com/commandbars/cb_2.asp

2. http://codejock.com/support/articles/com/commandbars/cb_19.asp - http://codejock.com/support/articles/com/commandbars/cb_19.asp

3. Use resource editor installed in the start menu to manually add the translation you need.  There are some strings not yet translated in every language.  You can edit them yourself.  Feel free to send them to codejock so they can be added to the library.


Posted By: upeters
Date Posted: 26 September 2007 at 11:45am
Hi SuperMario,

thank you very much for your reply. Your answers to items 1 and 3 were on the spot. However, I think that maybe I didn't myself clear on item 2.

The linked article shows how to remove the option to hide the menu bar and tool bars using the context menu. This isn't exactly what I am asking. If you look at the capture, you see that I show two options, one for each bar. The thing is, once I have both bars (menu and tools) hidden at the same time, the context menu is gone for good and I can't bring any of the bars back.

When I use the option to remove one of the items from the context menu, I can hide and bring back the other, so this problem doesn't appear.

Ulrich


Posted By: SuperMario
Date Posted: 26 September 2007 at 2:50pm
Microsoft products do not allow the menubar to be hidden, so you can always show them again.  If you hide all menu\toolbars, then you have hidden the commandbars. 

You could create your own popup menu and display it on mousedown event (assuming mdi) of the form or whatever is shown when all commandbars are hidden.



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