Knowledgebase:
GetChartIDByIndex
Posted by Angham Al-Banawien, Last modified by Angham Al-Banawien on 03 July 2018 02:57 PM


Syntax

 Public Function GetChartIDByIndex(Index As Integer) As Long

This function is used to get the chart identifier to the given chart index.

Parameters

Key Description 
Index The chart position on the chart windows, value of type Integer

Return value

Returns chart id as value of type long,  In order to get -1, call GetLastError() function.

Sample

 Public Sub main()

    Dim Chart_ID

    Chart_ID = GetChartIDByIndex(2)

    AlertMessage Chart_ID 

 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