Syntax
Public Function ObjectName(chart_Id As Long, pos As Integer) As String
Description
This function returns the name of the object by a given it ordinalin the specified chart.
Parameters
Key | Description |
chart_Id | Chart identifier. 0 mean the current chart, the value of type Long. |
pos | An ordinal number of the object, the value of type Integer. |
Return value
Returns object name. In error casecall GetlastError() function to get the detailed error information.
Sample
Public Sub main () AlertMessage ObjectName (0, 1) End sub
See Also