Knowledgebase:
Objectget
Posted by Mohammad Rahhal, Last modified by Mohammad Rahhal on 30 July 2018 12:36 PM

Syntax

Public Function ObjectGet(chart_ID As Long, name As String, prop_Id As Integer)As Variant

This function is used to get the values of the specified object property by a given object name .

Parameters

Key Description 
chart_index Chart identifier, 0 mean the current chart, value of type Long
Name Object name to get the property value for it, value of Type Striing.
prop_Id The value can be ENUM_OBJECT_PROPERTY.


Return value

Returns an object property value according to prop_Id value.
 

Sample 

Public Sub main()

   Dim objID

   objID="Text1"

   AddObject Clng(0), CSTR(objID), OBJ_TEXTCint(0), "16/03/2013 00:00:00", 3.49672

   Objectset Clng(0),Cstr(objID), 2 ,Cstr(Text)

   AlertMessage(Objectget (Clng(0),Cstr(objID),2 ))

End Sub

 


See Also


Back to VTL Client Script Index

(1 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