Create ButtonPad As Default 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

Restores one standard ButtonPad (for example, the Main ButtonPad) to its default state. You can issue this statement from the MapBasic window in MapInfo Pro.

Syntax

Create ButtonPad { title_string | ID pad_num } As Default [ Tab tab_name ]

title_string is the ButtonPad title (for example, "Main", "Standard", or "Custom Tools").

pad_num is the ID number for the standard ButtonPad (toolbar) you want to re-define:

tab_name is the the tab name to reset a custom ButtonPad.
Note: If Tab name is not provided then this command would remove the ribbon group with name as title_string or ID of button pad from the LEGACY tab in ribbon.
  • 1 for Main
  • 2 for Drawing
  • 3 for Tools
  • 4 for Standard
  • 5 for Database Management System (DBMS)
  • 6 Web Services
  • 7 Reserved

Custom ButtonPads use only the title_string.

Description

This statement restores MapInfo Pro's standard ButtonPads (such as Main, Drawing, and Tools) to their default states. Custom ButtonPads will be destroyed.

See Also:

Alter Button statement,Alter ButtonPad statement, Create ButtonPad statement, Create ButtonPads As Default statement