Objectget
Posted by Mohammad Rahhal, Last modified by Fouad Faraj Allah on 04 July 2019 02:45 PM

Syntax

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

Description

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, the value of type Long
Name Object name to get the property value for it, the value of Type String.
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_TEXT, Cint(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