Login Page - Create Account

Support Board


Date/Time: Thu, 21 Nov 2024 09:38:07 +0000



Support Request: Control Bar Button Behavior with Detached Charts

View Count: 76

[2024-11-18 18:54:57]
TB7000 - Posts: 5
Dear Sierra Chart Support Team,

I am seeking clarification regarding the behavior of Control Bar buttons when used with detached charts.
Specifically, I am developing a custom study utilizing Advanced Custom Study Buttons and have encountered the following issue:

Observed Behavior:
Control Bar buttons associated with a detached chart do not trigger sc.MenuEventID events unless the linked chart window is active (focused).

Documentation Review:
I have reviewed the "Advanced Custom Study Buttons and Pointer Events" documentation, but could not find a direct solution for enabling button functionality for detached or inactive charts.

Questions/Requests:
- R1: Request for guidance: Is it possible to configure Sierra Chart to allow Control Bar buttons to trigger their events even when the associated chart window (detached or otherwise) is not active? Alternatively, is there a way to programmatically bring focus to the linked chart when a Control Bar button is clicked?
- Q1: Is this behavior intentional by design, or is there a setting or workaround to allow buttons to function without requiring the chart to be active?
- Q2: If this behavior is inherent, could the following enhancements be considered:
A / Automatically activating the chart linked to a button when it is clicked.
B / Enabling buttons to trigger events for their associated chart, regardless of its focus state.


Use Case:
This enhancement would greatly benefit workflows where detached charts are used across multiple monitors. It would eliminate the need to manually activate a chart before using its associated Control Bar buttons, resulting in a more seamless user experience.

Thank you for your assistance. I look forward to your clarification or recommendations.

Best regards,
[2024-11-19 17:16:42]
Sierra_Chart Engineering - Posts: 17133
Before we can begin to understand this, we need to know what Control Bar you are referring to. One attached to the main Sierra Chart window. Or one that is floating and associated with the main Sierra Chart window. One attached to a chart window, whether it is an attached chart or a detached chart? We do not know.

We do not know what is meant by "linked chart window".

Also custom study control bar buttons are not linked to or associated with any chart. That is not possible. They simply work in relation to the active chart, or if the control bar is attached to a particular chart, that particular chart.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2024-11-19 17:19:50
[2024-11-19 21:58:51]
TB7000 - Posts: 5
Thank you for your prompt response.

To clarify:

- I am referring to a floating Control Bar used in conjunction with a detached chart. The custom study runs on the detached chart, and the Control Bar buttons are intended to interact with this study.

- The term "linked chart" was misleading. What I meant is that the Control Bar buttons are associated with functionality defined in the custom study applied to the detached chart. These buttons are expected to trigger actions within the study, regardless of whether the chart is currently active (focused).

- The Advanced Custom Study buttons are programmed within the custom study to perform specific actions tied to the chart. While there is no inherent technical linkage, the buttons' functionality depends on the study running on the detached chart.

- The issue occurs when the detached chart is not active. In this case, clicking a Control Bar button does not generate an sc.MenuEventID event, requiring the user to manually activate the chart first. This disrupts workflows that rely on detached charts across multiple monitors.

I am trying to determine if it is possible to configure Control Bar buttons to trigger their associated events globally, regardless of whether the chart is active. Alternatively, if this is not feasible within Sierra Chart’s design, I would appreciate guidance or suggestions for achieving similar functionality - if there are any known paths.

Thank you for your assistance.
[2024-11-20 18:33:28]
Sierra_Chart Engineering - Posts: 17133
We need to do some testing and get back to you.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-11-20 23:08:32]
Sierra_Chart Engineering - Posts: 17133
If you have opened a floating Control Bar enabled through Window >> Control Bars on the detached chart, then in the next release, the Control Bar commands will always be directed to that detached chart initially. Previously they may not have been. This should resolve the problem.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2024-11-20 23:09:03

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account