Difference between revisions of "MC Arw GetActive"

From MultiCharts
Jump to navigation Jump to search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Returns a numerical value indicating the arrow ID number of the currently selected arrow.
+
Returns a numerical value indicating the '''arrow ID''' number of the currently selected arrow.
  
 
MC_Arw_GetActive returns a value of -1 if no arrows are currently selected.  
 
MC_Arw_GetActive returns a value of -1 if no arrows are currently selected.  
Line 8: Line 8:
 
== Notes ==
 
== Notes ==
 
* Use [[Arw_GetActive]], [[Arw_GetFirst]] or [[Arw_GetNext]] to get the object-specific ID number of earlier, already created arrows.
 
* Use [[Arw_GetActive]], [[Arw_GetFirst]] or [[Arw_GetNext]] to get the object-specific ID number of earlier, already created arrows.
 +
* Use [[Arw_GetActive]] to get the '''object ID''' of the currently selected arrow.
 
   
 
   
 
== Example ==
 
== Example ==
Line 13: Line 14:
  
 
<syntaxhighlight>Value1 = MC_Arw_GetActive;</syntaxhighlight>
 
<syntaxhighlight>Value1 = MC_Arw_GetActive;</syntaxhighlight>
 +
 +
 +
At this link, there is an base logic that shows how this command can allow MC to receive interactive user input. You can adapt it to your specific needs. http://www.multicharts.com/discussion/viewtopic.php?f=5&t=7764
  
 
[[Category:ArrowDrawing]]
 
[[Category:ArrowDrawing]]

Latest revision as of 22:53, 13 August 2012

Returns a numerical value indicating the arrow ID number of the currently selected arrow.

MC_Arw_GetActive returns a value of -1 if no arrows are currently selected.

Usage

MC_Arw_GetActive

Notes

Example

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

Value1 = MC_Arw_GetActive;


At this link, there is an base logic that shows how this command can allow MC to receive interactive user input. You can adapt it to your specific needs. http://www.multicharts.com/discussion/viewtopic.php?f=5&t=7764