LayerControlInfo() function - 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

Returns information about the Layer Control window.

Syntax

LayerControlInfo( attribute )

attribute is a code indicating the type of information to return; see table below.

Description

The attribute parameter is a value from the table below. Codes in the left column are defined in MAPBASIC.DEF.

attribute code ID TableInfo() returns
LC_INFO_SEL_COUNT 1 Smallint result, indicating the number of selected items.

Example

LayerControlInfo(LC_INFO_SEL_COUNT)

See Also:

LayerControlSelectionInfo() function