RIBBON BAR DYNAMIC CREATE
- How-to
- lingaiah T
- PowerBuilder
- Saturday, 4 September 2021 04:00 PM UTC
Dear Team,
I would like to create a ribbonbar menu from table data.
Example: I have a table name : menus_table
Create table menus_table
(menu_text varchar(50), menu_level_1 varchar(2) ,menu_level_2 varchar(2),menu_level_3 varchar(2)
)
insert into menus_table values ( 'File',1,0,0)
insert into menus_table values ( 'Cut',1,1,0)
insert into menus_table values ( 'Copy',1,2,0)
insert into menus_table values ( 'pastespecial',1,3,1)
insert into menus_table values ( 'pastespecial -Values ',1,3,1)
insert into menus_table values ( 'pastespecial - Formats',1,3,1)
/***********************************************************/
Ribbon Bar Menu
/********************************************************/
Read from table and Display like below
- File (Category)
(panel)
-- Cut Largebutton Copy (largebutton) Pastespecial ( Dropdown)
--- Values (Menuitems)
---- Formats (Menuitems)
Please see the attached file (example)
Thanks in advance for the group/team
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.