Support Board
Date/Time: Fri, 21 Mar 2025 07:33:03 +0000
ACSIL - issue resetting ButtonText and HoverText on ACS20 - ACS28 only?
View Count: 336
[2022-11-21 14:40:23] |
User92573 - Posts: 552 |
Dear Support I seem unable to reset, or more correctly set to "" the following ACS Buttons: // Clear when Study is removed. if (sc.LastCallToFunction) { // Test - Button_20 to Button_28 which use values held in PersVar(int) that come from input selections are not clearing the Button text as expected. //sc.SetCustomStudyControlBarButtonHoverText(Button_20,""); //sc.SetCustomStudyControlBarButtonText(Button_20,""); // Neither is using the actual ACS Button numbers? sc.SetCustomStudyControlBarButtonHoverText(20,""); sc.SetCustomStudyControlBarButtonText(20,""); sc.SetCustomStudyControlBarButtonHoverText(21,""); sc.SetCustomStudyControlBarButtonText(21,""); sc.SetCustomStudyControlBarButtonHoverText(22,""); sc.SetCustomStudyControlBarButtonText(22,""); sc.SetCustomStudyControlBarButtonHoverText(23,""); sc.SetCustomStudyControlBarButtonText(23,""); sc.SetCustomStudyControlBarButtonHoverText(24,""); sc.SetCustomStudyControlBarButtonText(24,""); sc.SetCustomStudyControlBarButtonHoverText(25,""); sc.SetCustomStudyControlBarButtonText(25,""); sc.SetCustomStudyControlBarButtonHoverText(26,""); sc.SetCustomStudyControlBarButtonText(26,""); sc.SetCustomStudyControlBarButtonHoverText(27,""); sc.SetCustomStudyControlBarButtonText(27,""); sc.SetCustomStudyControlBarButtonHoverText(28,""); sc.SetCustomStudyControlBarButtonText(28,""); return; } The caption and Description are however being reset
It is only these specific buttons - I'm currently not experiencing issues with other ACS Buttons. Many thanks. PS Can I ask if there any plans to allow the text size for the individual buttons to be set through ACSIL as we already can with their color "sc.SetCustomStudyControlBarButtonColor(10, RGB(240,240,240));"? V2455 |
To post a message in this thread, you need to log in with your Sierra Chart account: