Removing HotLink Definitions - 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 following clause removes a new hotlink definition from the map. For a detailed description of the Activate clause, see Managing Hotlinks.

Syntax

Set Map
[ Window window_id ]
[ Layer layer_id 
	[Activate Remove { 
		All | hotlink_id  [ , hotlink_id, hotlink_id, ... ] } ] ]

window_id is the integer window identifier of a Map window.

layer_id identifies which layer to modify; can be a SmallInt (for example, use 1 to specify the top map layer other than Cosmetic) or a string representing the name of a table displayed in the map.

hotlink_id is an integer index (1-based) that specifies the hotlink definition to modify. At least one hotlink_id must be specified.

Description

All specifies that all hotlink definitions are removed.

Examples

Set Map Layer 1 Activate Remove 2, 4
Set Map Layer 1 Activate Remove All