Support Board
Date/Time: Mon, 20 Jan 2025 13:58:32 +0000
Post From: DrawingType 'DRAWING_CYCLE' how to?
[2018-05-27 18:12:25] |
b3cker - Posts: 34 |
Hello, Installed pre-released version, added following code. Cycle tool is not displayed. What am I doing wrong? Can you provide one example? s_UseTool CycleTool; CycleTool.Clear(); CycleTool.ChartNumber = sc.ChartNumber; CycleTool.DrawingType = DRAWING_CYCLE; int CycleNumber = sc.GetPersistentInt(1); if (CycleNumber != 0) CycleTool.LineNumber = CycleNumber; CycleTool.Region = sc.GraphRegion; CycleTool.ExtendRight; CycleTool.UseToolConfigNum; CycleTool.BeginDateTime = sc.BaseDateTimeIn[sc.ArraySize - 100]; CycleTool.Color = RGB(255, 255, 0); CycleTool.AddMethod = UTAM_ADD_OR_ADJUST; CycleTool.ReverseTextColor = 0; sc.UseTool(CycleTool); |