Knowledgebase:
objectFind
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 06 July 2017 03:05 PM

Syntax

Public Function objectFind(chart_Id As Long, name As String) As Integer

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,value of type Long.
name The name of the searched object,value of type String.

Return value

Returns the object ID.In error case call GetlastError() function to get the detailed error information.

Sample

 Public Sub main ()
 AlertMessage ObjectFind (0,”ObjectName”)
 End sub


See Also


Back to VTL Client Script Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions