Purpose
Executes the MapInfo Pro ribbon control handler. You can call this function from the MapBasic window in MapInfo Pro.
Return Value
Whatever the function being called returns in the return value of this function.
Syntax
Execute Ribbon Control control_name Handler
control_name is the short name of the control within the same MBX or the full name when
executing out of the MBX control.
Note: See RibbonInfo() and CommandInfo() functions for new
properties to get full or short name of controls.
Example
Execute Ribbon Control
"MainRibbon:TabMap:MapSelection:SqlQuerySplitButton:SqlQueryDownMenuGroup:TableQueryBuilderButton"
Handler
Execute Ribbon Control "MainRibbon:ADDIN:CustomGalleryBar:Gallery:Raster:Dialog" Handler