Reordering 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 reorders hotlink definitions on the map.For a detailed description of the Activate clause, see Managing Hotlinks.

Syntax

Set Map
[ Window window_id ]
[ Layer layer_id 
	[ Activate Order 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.

Example

Set Map Layer 1 Activate Order 2, 3, 1