Execute Ribbon Control Statement - MapBasic - 2023

MapInfo MapBasic Reference

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapBasic
Version
2023
Language
English
Product name
MapBasic
Title
MapInfo MapBasic Reference
First publish date
1985
Last updated
2023-09-12
Published on
2023-09-12T16:32:32.686312

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