RibbonBar Menu Generator

More
4 years 8 months ago - 2 months 3 days ago #272 by Bruce Armstrong
Bruce Armstrong created the code: RibbonBar Menu Generator
The attached utility allows you to select a target and will list the menus within the application. If you double click on a menu, the utility will generate sample XML for a RibbonBar that will contain app menu items and ribbon buttons corresponding to menu items in the selected menu.

In order to deal with inherited menus, the application adds the libraries from the selected target to it's own library list. Since that approach only works in an executable (not the development environment) you much compile the utility form the attached PBL and run the executable.

As written, the utility can only deal with targets whose libraries are in the same directory as the target or in sub-directories under the target directory. If your application uses targets whose PBLs are not in that structure, you will need to modify the of_gettarget method to better handle the parsing the library locations.

You can see it in operation in the following video: vimeo.com/407468290/81c471cd86

12/28/2020: The sample has been updated for 2019 R3.

10/14/24: If you can wait until PB 2025 comes out (in 2025), wait. The Export to RibbonBar XML option that is added in that version makes the utility obsolete:
docs.appeon.com/pb2025/pbug/Customizing_RibbonBar.html

This message has an attachment file.
Please log in or register to see it.

Last Edit: 2 months 3 days ago by Bruce Armstrong.

Please Log in or Create an account to join the conversation.

More
2 months 3 days ago #554 by Moorthy Natarajan
Moorthy Natarajan replied the code: RibbonBar Menu Generator
Thanks Bruce,

Very useful tool, indeed!!!

Regards
Moorthy Natarajan

Please Log in or Create an account to join the conversation.

More
2 months 4 days ago #553 by Moorthy Natarajan
Moorthy Natarajan replied the code: RibbonBar Menu Generator
Thanks Michael,

Your tip to change the runtime path in the XML file helped sort out how to create the exe file!!!

Regards
Moorthy

Please Log in or Create an account to join the conversation.

More
2 months 5 days ago #552 by Moorthy Natarajan
Moorthy Natarajan replied the code: RibbonBar Menu Generator
Hi Bruce,

I am using PB 2022 R3 3391. I would like to have the Source code of this utility so that I can compile it in the version of PB I am using.

You have mentioned that it's in the attachement. But, I can't see that attachemnet in the page nor can I find it in the zip file you have given at the top of the page. Can you please direct me to the location where I can download it or send me the source code?

Thanks in advance

Regards
Moorthy

Please Log in or Create an account to join the conversation.

More
4 months 2 weeks ago - 4 months 2 weeks ago #542 by Sandeep D
Sandeep D replied the code: RibbonBar Menu Generator
Hi, I am unable to download zip file 404 error.
Last Edit: 4 months 2 weeks ago by Appeon Admin.

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #491 by Bruce Armstrong
Bruce Armstrong replied the code: RibbonBar Menu Generator
The source code is provided in the attachment. You're supposed to recompile it for the version you're working with. I mention that in the description.

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #490 by Jürgen Zant
Jürgen Zant replied the code: RibbonBar Menu Generator
Hi Bruce,

is your generator still working with the latest version 2022R2?
I'm very interessted to give it a try but get the same error.
Using RT 22.1.0.2828.

Is there a possibility to get the old RT or the source?

regards
Jürgen

Please Log in or Create an account to join the conversation.

More
1 year 3 months ago #470 by Juan Magaña
Juan Magaña replied the code: RibbonBar Menu Generator
Esto es de gran utilidad de verdad muchas gracias por este aporte.
I´m Sorry my English es very low in this moment.

Thanks! you are Amazing!

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #374 by kostas karanasos
kostas karanasos replied the code: RibbonBar Menu Generator
Great Bruce

Thanks a lot


Kostas

Please Log in or Create an account to join the conversation.

More
3 years 5 months ago #360 by Marcelo Gil
Marcelo Gil replied the code: RibbonBar Menu Generator
Hi Bruce! I am using PB 2019 R2 Build 2353. Regards

Please Log in or Create an account to join the conversation.

More
3 years 5 months ago #359 by Bruce Armstrong
Bruce Armstrong replied the code: RibbonBar Menu Generator
I've provided you with the source code so that you can compile it yourself for whatever version you are using.

Please Log in or Create an account to join the conversation.

Moderators: Appeon Administrator