Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Beginner's trouble with CommandBars
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Beginner's trouble with CommandBars

 Post Reply Post Reply
Author
Message
upeters View Drop Down
Groupie
Groupie


Joined: 31 May 2007
Location: Brazil
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote upeters Quote  Post ReplyReply Direct Link To This Post Topic: Beginner's trouble with CommandBars
    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
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2007 at 3:08pm
1. http://codejock.com/support/articles/com/commandbars/cb_2.asp

2. 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.
Back to Top
upeters View Drop Down
Groupie
Groupie


Joined: 31 May 2007
Location: Brazil
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote upeters Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.