Set Drag Threshold statement - MapBasic - 2023

MapInfo MapBasic Reference

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapBasic
Version
2023
ft:locale
en-US
Product name
MapBasic
ft:title
MapInfo MapBasic Reference
First publish date
1985
ft:lastEdition
2023-09-12
ft:lastPublication
2023-09-12T16:32:32.686000

Purpose

Sets the length of the delay that the user experiences when dragging graphical objects. You can issue this statement from the MapBasic window in MapInfo Pro.

Syntax

Set Drag Threshold pause

pause is a floating-point number representing a delay, in seconds; default value is 1.0.

Description

When a user clicks on a map object to drag the object, MapInfo Pro makes the user wait. This delay prevents the user from dragging objects accidentally. The Set Drag Threshold statement sets the duration of the delay.

Example

Set Drag Threshold 0.25