GetAllWindows ()
method
All chart window
Syntax
public Window[] GetAllWindows ()
Return
Window[]
Example
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using PTLRuntime.NETScript;
using PTLRuntime.NETScript.Charts;
namespace GetAllWindowsExamples
{
public class GetAllWindowsExamples : NETStrategy
{
Window[] win;
public override void OnQuote()
{
win = CurrentChart.GetAllWindows();
for(int i=0;win.Length-1>i;i++)
{
//Do something with particular window
}
}
}
}
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.