Returns a numerical value indicating the object ID number of the currently active text object. Text_GetActive returns -1 if no text objects are currently selected or were added to a chart yet.If an active text drawing object is removed from a chart then GetActive returns -1.If an inactive text drawing object is removed from a chart then GetActive returns the object ID number of the currently active text object.
Text_GetActive returns a value of -1 if no text objects are currently selected.