Login Page - Create Account

Support Board


Date/Time: Sat, 22 Mar 2025 03:59:42 +0000



Post From: sc.SetCustomStudyControlBarButtonEnable() State v On/Off. Is there a difference?

[2022-11-16 08:15:34]
User92573 - Posts: 552
Dear Support

Quick question. re ACS_Buttons.

The documentation states that "Only one Advanced Custom Study Control Bar button can be "On" (Down) at any time."

However, as I'm seeing the possibility of more than one being enabled (Down) at a time, I'm a little confused.

Is there a relationship between "Enabled/Disabled" and "On/Off", or are these 2 different states?

Can a Button be "Down" (Enabled) but have its State "Off" because a more recent ACS Button has been selected and "its" the previous Button, has not yet been reset/disabled?

For example, I am seeing 2 Buttons enabled (Down) on my control which doesn't seem to match my understanding of the documentation. My reasoning is that 2 Buttons Down mean they are both in an "On" State and "Enabled"?

The Control Bar buttons, 1 through 150, can be toggled On and Off. Visually this state is shown for the Advanced Custom Study Control Bar button by the button being pushed in or out on the Control Bar. Only one Advanced Custom Study Control Bar button can be On at any time. So setting one Advanced Custom Study Control Bar button to be On also effectively switches off any other currently On Advanced Custom Study Control Bar button.

Please would you help clarify this for me.

Many thanks.