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

Syntax

Public Function ObjectMove(chart_Id As Long, name As String, point As Integer, time1 As String, Price1 As Double) As Boolean

This function is used to move an object in the chart by a given the coordinates

Parameters

Key Description
chart_Id Chart identifier. 0 mean the current chart,value of type Long.
name Object name thet want to move ,value of type String.
Point Coordinate index (0-2),value of type Integer.
time1 New time coordinate value ,value of type String.
Price1 New price coordinate value,value of type Double. 

Return value

Returns true if successful. Otherwise, it returns false. To get the detailed error information, call GetlastError() function.

Sample

 Public Sub main ()
 AlertMessage ObjectMove (0,“Object Name”,1,”13/06/2016 12:22:00”, 1.12787)
 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