Support Board
Date/Time: Fri, 14 Mar 2025 22:20:07 +0000
Post From: User/Source code controlled settings
[2022-01-29 23:46:16] |
Csurles2010 - Posts: 13 |
Hello everyone, I'm trying to use source code to control draw styles. I also want to change the settings manually, as needed. Is there a way to do both? Control draw styles with source code and change study window settings manually? Once the source code changes the draw styles, user inputs have no effect. Any help is greatly appreciated Here is the code I have so far. It does what I need it to do. However, I can't change them manually. if (ShowRectangle.GetYesNo()) { sc.Subgraph[1].DrawStyle = DRAWSTYLE_TRANSPARENT_FILL_RECTANGLE_TOP; sc.Subgraph[2].DrawStyle = DRAWSTYLE_TRANSPARENT_FILL_RECTANGLE_BOTTOM; } else { sc.Subgraph[1].DrawStyle = DRAWSTYLE_DASH; sc.Subgraph[2].DrawStyle = DRAWSTYLE_DASH; |