Difference between revisions of "RectangleGetLock"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Locked rectangle drawings cannot be moved manually. Keyword returns a value of True for locked drawings, and a value of False for unlocked. == Usage == <syntaxhighlight>Rec...")
 
 
Line 7: Line 7:
 
   
 
   
 
== Notes ==  
 
== Notes ==  
A rectangle-specific ID number is returned by RectangleNew when the rectangle is created.  
+
A rectangle-specific ID number is returned by [[RectangleNew]] when the rectangle is created.
+
 
 
== Example ==
 
== Example ==
 
Assign Lock property of the rectangle drawing with an ID number of 1 to Condition1 variable:  
 
Assign Lock property of the rectangle drawing with an ID number of 1 to Condition1 variable:  

Latest revision as of 16:16, 20 August 2021

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);