Syntax
Public Function objectFind(chart_Id As Long, name As String) As Integer
Description
This function is used to return object ID by a given object name on the chart.
Parameters
| Key | Description |
| chart_Id | Chart identifier. 0 mean the current chart, the value of type Long. |
| name | The name of the searched object, the value of type String. |
Return value
Returns the object ID.In error casecall GetlastError() function to get the detailed error information.
Sample
Public Sub main () AlertMessage ObjectFind (0,ObjectName) End sub
See Also
I don’t know if it’s just me or if perhaps everybody else encountering issues with your blog. It appears as if some of the written text on your content are running off the screen. Can someone else please provide feedback and let me know if this is happening to them as well? This might be a issue with my internet browser because I’ve had this happen before. Thank you
December 5, 2025 at 6:33 pm