MC Text GetActive: Difference between revisions
From MultiCharts
m
no edit summary
mNo edit summary |
|||
Line 1: | Line 1: | ||
Returns a numerical value indicating the text ID number of the currently selected text | Returns a numerical value indicating the text ID number of the currently selected text. | ||
MC_Text_GetActive returns a value of -1 if no text is currently selected. | |||
== Usage == | |||
<syntaxhighlight>MC_Text_GetActive</syntaxhighlight> | <syntaxhighlight>MC_Text_GetActive</syntaxhighlight> | ||
== Example == | |||
Assign a value, indicating the text ID number of the currently selected text, to Value1 variable: <syntaxhighlight>Value1 = MC_Text_GetActive;</syntaxhighlight> | Assign a value, indicating the text ID number of the currently selected text, to Value1 variable: | ||
<syntaxhighlight>Value1 = MC_Text_GetActive;</syntaxhighlight> | |||
[[Category:Text Drawing]] | [[Category:Text Drawing]] |