Difference between revisions of "MC Text GetActive"

From MultiCharts
Jump to navigation Jump to search
m (Reverted edits by 176.8.90.7 (talk) to last revision by JoshM)
Line 10: Line 10:
  
 
<syntaxhighlight>Value1 = MC_Text_GetActive;</syntaxhighlight>  
 
<syntaxhighlight>Value1 = MC_Text_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:Text Drawing]]
 
[[Category:Text Drawing]]

Revision as of 09:57, 12 August 2012

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

MC_Text_GetActive

Example

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

Value1 = MC_Text_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