Difference between revisions of "Text GetActive"
Jump to navigation
Jump to search
(→Notes) |
m (Reverted edits by 176.8.90.7 (talk) to last revision by JoshM) |
||
Line 3: | Line 3: | ||
Text_GetActive returns a value of -1 if no text objects are currently selected. | Text_GetActive 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 == | == Example == |
Revision as of 12:39, 13 February 2012
Returns a numerical value indicating the object ID number of the currently selected text object.
Text_GetActive returns a value of -1 if no text objects are currently selected.
Usage
Text_GetActive
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:
Value1 = Text_GetActive;