RectangleGetLock

From MultiCharts
Revision as of 16:16, 20 August 2021 by Svetlana MultiCharts (talk | contribs) (→‎Notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Locked rectangle drawings cannot be moved manually. Keyword returns a value of True for locked drawings, and a value of False for unlocked.

Usage

RectangleGetLock(ID)

Where:

ID - a numerical expression specifying the rectangle ID number

Notes

A rectangle-specific ID number is returned by RectangleNew when the rectangle is created.

Example

Assign Lock property of the rectangle drawing with an ID number of 1 to Condition1 variable:

Condition1=RectangleGetLock(1);