Set Cursor 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

Switches between 1-bit per pixel cursors and 32-bit per pixel cursors. You can issue this statement from the MapBasic window in MapInfo Pro.

When working in a Citrix XenApp environment, there may be a delay rendering the 32-bit per pixel cursor in MapInfo Pro causing a performance issue. Switching to the 1-bit per pixel cursor corrects this issue.

Syntax

Set Cursor Truecolor ( On | Off )

Description

The Truecolor clause turns 32-bit per pixel cursors on or off. When set to On, MapInfo Pro uses the 32-bit per pixel cursors. When set to Off, MapInfo Pro uses the 1-bit per pixel cursors, which displays in black and white.

Note: Changes made using this MapBasic command do not persist; they only exist for the current session.

The cursor style is a System Settings preference in MapInfo Pro.

Example

This example enables 1-bit per pixel cursors:

Set Cursor Truecolor Off