Posted by Mohammad Rahhal, Last modified by Salameh Abu Hashish on 14 January 2019 12:43 PM


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

This function is used to return one of the ENUM_OBJECT value as the object type value by a given the object name.


Key Description
chart_Id Chart identifier. 0 mean the current chart,value of type Long.
name Object name thet want to know the type value for it,value of type String.

Return value

Return one of the ENUM_OBJECT value . To get the detailed error Information when the object type is -1, call GetLastError() function.


Public Sub main ()
AlertMessage ObjectType (0, “Object Name”)
End sub

See Also

Back to VTL Client Script Index

(0 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
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