Ribbon Token and Property Mappings - 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
The table below shows the mapping between the Ribbon Control tokens and properties.
Token Property Notes
caption “Caption”
enable “IsEnabled” “True”
disable “IsEnabled” “False”
Note: SplitButton controls always have enabled state = TRUE
active “IsSelected” For a ribbon tab
hide “Visible” “False”
show “Visible” “True”
tooltip
largeicon “LargeIcon”
smallicon “SmallIcon”
icon “CollapsedImage” For a ribbon control group
size large

“IsLarge”

“IsExtraSmall”

“True”

“False”

size small

“IsLarge”

“IsExtraSmall”

“False”

“False”

size extrasmall

“IsLarge”

“IsExtraSmall”

“False”

“True”

togglebutton “IsToggle” “True” for type “Button” only
check

“IsSelected”

“IsChecked”

“True” for type “Button” only

“True” for type “RibbonCheckBox” or "RadioButton" only

uncheck

“IsSelected”

“IsChecked”

“False” for type “Button” only

“False” for type “RibbonCheckBox” or "RadioButton" only

IsCheckable “IsCheckable”

“True” for type " RibbonMenuItem " only

“False”

IIconEnabled “IsIconEnabled”

“True” for type " RibbonMenuItem " only

“False”

calling “CallingHandler” or “CommandId”
drawmode “DrawMode” For type “ToolButton” only
cursor “Cursor” or “CursorId” For type “ToolButton” only
modifierkeys “BModifierKeys” For type “ToolButton” only
horizontal “Orientation” “Horizontal”
vertical “Orientation” “Vertical”
RememberLastCommand "RememberLastCommand"

“True” for type "SplitButton" only

“False”

FontFamily “FontFamily” String, Font name for TextBlock only
FontSize “FontSize” String, Font size, for TextBlock only
FontStyle “FontStyle”

String, Font Style, for TextBlock only

For example, Normal, Italic, Oblique

FontWeight “FontWeight”

String, Font Weight, for TextBlock only

For Example, Heavy, Normal, Thin, Bold