Purpose
Removes any tabs, contextual tab groups, groups and controls added to the ribbon by a running MBX. You can issue this statement from the MapBasic window in MapInfo Pro.
Syntax
Set Ribbon [ Window window_id] Clear
Note: If any built-in controls are modified or hidden, this
statement does not restore them.
Example
Please see the Create Ribbon Sample Code.