Set 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

Updates a MapInfo Pro ribbon control. You can issue this statement from the MapBasic window in MapInfo Pro.

Syntax

Set Ribbon [ Window window_id] Control { control_name } CONTROL_CLAUSE

window_id is a window identifier.

control_name is the name of the control to be updated.

CONTROL_CLAUSE, sets the caption, tool tip and other properties of the tab group.

Description

The Set Ribbon Control statement updates various MapInfo Pro ribbon controls.

If the window_id is specified, the window must be a map, browser, layout, or redistricter, and the window must have a ribbon.

The control_name is an optional parameter that specifies the name of the control that is to be updated. This is the variable name used in MapBasic scripts. It is a string expression and is case-sensitive. It must start with a letter or underscore and can contain numbers, letters, and underscores.

Example

Please see the Create Ribbon Sample Code.