Difference between revisions of "MC Arw GetActive"

From MultiCharts
Jump to navigation Jump to search
Line 5: Line 5:
 
   
 
   
 
==== Example ====
 
==== Example ====
<syntaxhighlight>Assign a value, indicating the arrow ID number of the currently selected arrow, to Value1 variable:  
+
Assign a value, indicating the arrow ID number of the currently selected arrow, to Value1 variable:  
Value1 = MC_Arw_GetActive;</syntaxhighlight>
+
<syntaxhighlight>Value1 = MC_Arw_GetActive;</syntaxhighlight>
  
  
 
[[Category:ArrowDrawing]]
 
[[Category:ArrowDrawing]]

Revision as of 12:48, 26 January 2012

Returns a numerical value indicating the arrow ID number of the currently selected arrow; returns a value of -1 if no arrows are currently selected.

Usage

MC_Arw_GetActive

Example

Assign a value, indicating the arrow ID number of the currently selected arrow, to Value1 variable:

Value1 = MC_Arw_GetActive;