MC TL GetActive: Difference between revisions
From MultiCharts
m
no edit summary
m (Reverted edits by 176.8.90.7 (talk) to last revision by 194.84.116.138) |
mNo edit summary |
||
Line 1: | Line 1: | ||
trendline ID number of the currently selected trendline; returns a value of -1 if no trendlines are currently selected. | trendline ID number of the currently selected trendline; returns a value of -1 if no trendlines are currently selected. | ||
== Usage == | |||
<syntaxhighlight>MC_TL_GetActive</syntaxhighlight> | <syntaxhighlight>MC_TL_GetActive</syntaxhighlight> | ||
== Notes == | |||
A trendline-specific ID number is assigned by [[MC_TL_New]] when the trendline is created. | * A trendline-specific ID number is assigned by [[MC_TL_New]] when the trendline is created. | ||
== Example == | |||
Assign a value, indicating the trendline ID number of the currently selected trendline, to | Assign a value, indicating the trendline ID number of the currently selected trendline, to the ''Value1'' variable: | ||
<syntaxhighlight>Value1 = MC_TL_GetActive;</syntaxhighlight> | <syntaxhighlight>Value1 = MC_TL_GetActive;</syntaxhighlight> | ||
[[Category:Trendline Drawing]] | [[Category:Trendline Drawing]] |