Support Board
Date/Time: Sat, 11 Jan 2025 13:05:42 +0000
sc.SetACSToolEnable()
View Count: 885
[2016-11-26 18:12:44] |
Pinger - Posts: 33 |
Hi I have the following code in my study initialisation... sc.SetACSToolButtonText(1, "Run"); sc.SetACSToolEnable(1, FALSE); sc.SetACSToolToolTip(1, "Run"); If ACS Button 1 is pressed prior to adding my study then "sc.SetACSToolEnable(1, FALSE)" does not visually "unpress" Button 1 when I add my study, which is what I want. And similarly, I can't "unpress" Button 1 in the body of my function using the same function call. Am I missing something? The text and tool tip function calls work. SC Version 1490. Kind regards |
[2016-11-26 19:24:25] |
Pinger - Posts: 33 |
Hi I have solved my problem with sc.SetACSToolEnable(1, FALSE), sort of... I can't get the function call to work during study initialisation, i.e. in the sc.SetDefaults block. But I can get it to work if I include the function call in a sc.IsFullRecalculation block. Kind regards |
[2016-11-26 21:22:16] |
Sierra Chart Engineering - Posts: 104368 |
Refer to #7 here for an explanation about this: ACSIL Interface Members - Variables and Arrays: What Should Be Located in the sc.SetDefaults Code Block Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2016-11-27 19:52:19] |
Pinger - Posts: 33 |
Thanks for the swift reply and link to the documentation. Kind regards |
To post a message in this thread, you need to log in with your Sierra Chart account: