ActivateChartByID
Posted by Angham Al-Banawien, Last modified by Diana Alkouni on 25 August 2020 06:52 AM


Syntax

 Public Function ActivateChartByID(ChartId As Long) As Boolean

This function is used to make the given chart identifier is the active chart.

Parameters

Key Description 
Index The chart position on the chart windows to be active. A value of type Long.

Return value

Returns true when activating the chart succeeded else return false. In order to get false, call GetLastError()  function.

Sample

Public Sub main()

    Dim Chart_ID

    Chart_ID = GetChartIDByIndex(2)

    AlertMessage ActivateChartByID (clng(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