Login Page - Create Account

Support Board


Date/Time: Thu, 21 Nov 2024 13:20:48 +0000



Post From: Support Request: Control Bar Button Behavior with Detached Charts

[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,