Description:
Used to rebuild the ribbon if significant changes have been made to the menu. This could include the addition or removal of some top level menu items.
Syntax:
of_rebuildribbon ()
of_rebuildribbon (boolean ab_keepcurrenttabselected)
of_rebuildribbon (menu a_menu)
of_rebuildribbon (menu a_menu, boolean ab_keepcurrenttabselected)
Argument |
Description |
a_menu |
A reference to a menu object that will be used to rebuild the ribbon. If no menu is passed, the menu specified on the window will be used. |
ab_keepcurrenttabselected |
Pass TRUE to keep the current ribbon tab selected. FALSE, the default, will cause of_RebuildRibbon to select the first ribbon tab. |
Return Value:
Always returns 1
Usage:
Copyright © 2021 Werysoft Inc.