×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts
Open main menu

Changes

Text GetActive

556 bytes added, 13:05, 25 January 2012
Created page with "Returns a numerical value indicating the object ID number of the currently selected text object; returns a value of -1 if no text objects are currently selected. ==== Usage..."
Returns a numerical value indicating the object ID number of the currently selected text object; returns a value of -1 if no text objects are currently selected.

==== Usage ====
<syntaxhighlight>Text_GetActive</syntaxhighlight>

==== Notes ====
An object-specific ID number is assigned by [[Text_New]] when the text object is created.

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

<syntaxhighlight>Value1=Text_GetActive;</syntaxhighlight>

[[Category:Text Drawing]]
Anonymous user