Navigation: Ultimate Suite for PowerBuilder Help > PowerMenu/Pro (Ribbon) > Functions >

of_ribbonmenu

Send comments on this topic.

 

Description:

Used to obtain a reference to the ribbons program tab menu. 

Syntax:

w_ribbonwindow.of_ribbonmenu ()

Return Value:

Returns a reference to the ribbons program tab menu.

Usage:

of_RibbonMenu().of_AddCommandButton("New Employee", "icons\addemployee_menu.png", "ue_newemployee")
of_RibbonMenu().of_AddCommandButton("Open Employee", "icons\openemployee_menu.png", "ue_openemployee")
of_RibbonMenu().of_AddSeperator ()
of_RibbonMenu().of_AddCommandButton("New Order", "icons\neworder_menu.png", "ue_neworder")
of_RibbonMenu().of_AddCommandButton("Open Order", "icons\openorder_menu.png", "ue_openorder")
of_RibbonMenu().of_AddSeperator ()
of_RibbonMenu().of_AddCommandButton("Save", "icons\save_menu.png", "ue_save")
of_RibbonMenu().of_AddSeperator ()
of_RibbonMenu().of_AddCommandButton("Exit", "icons\exit_menu.png", "ue_exit")

See Also:
of_displayprogramtab


Copyright © 2021 Werysoft Inc.