![]() |
Beginner's trouble with CommandBars |
Post Reply ![]() |
Author | |
upeters ![]() Groupie ![]() Joined: 31 May 2007 Location: Brazil Status: Offline Points: 28 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
|
upeters ![]() Groupie ![]() Joined: 31 May 2007 Location: Brazil Status: Offline Points: 28 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |