Support Board
Date/Time: Sun, 29 Dec 2024 17:07:22 +0000
Post From: How large can SCString be?
[2016-02-01 21:46:10] |
@sstfrederik - Posts: 404 |
Ok. thanks. I double checked my code. Still no change. In this case DisplayTextString has 12 lines. Any recommendations? //inside a for loop {
SCString MyLineText; MyLineText += "somestring"; SCString str_Temp = DisplayTextString; DisplayTextString.Format("%s%s%s", str_Temp.GetChars(), "\n", MyLineText.GetChars()); ///} s_UseTool Tool; Tool.ChartNumber = sc.ChartNumber; Tool.DrawingType = DRAWING_TEXT; Tool.BeginDateTime = 4; Tool.UseRelativeVerticalValues = true; Tool.BeginValue = 100; Tool.MultiLineLabel = 1; Tool.Region = sc.GraphRegion; Tool.Color = RGB(0, 0, 255); // Set Tool color to Blue //no news to display if (TotalNewsLines == 0) Tool.Text.Format("%s","No future news entries for this week with these filters"); else Tool.Text.Format("%s",DisplayTextString.GetChars()); Tool.AddMethod = UTAM_ADD_OR_ADJUST; Tool.ReverseTextColor = 0; sc.UseTool(Tool); |