Difference between revisions of "MC Text GetActive"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Returns a numerical value indicating the text ID number of the currently selected text; returns a value of -1 if no text is currently selected. ==== Usage ==== <syntaxhighli...")
 
Line 5: Line 5:
 
   
 
   
 
==== Example ====
 
==== Example ====
Assign a value, indicating the text ID number of the currently selected text, to <syntaxhighlight>Value1 variable: 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]]

Revision as of 13:02, 25 January 2012

Returns a numerical value indicating the text ID number of the currently selected text; returns a value of -1 if no text is currently selected.

Usage

MC_Text_GetActive

Example

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

Value1 = MC_Text_GetActive;