Login Page - Create Account

Support Board


Date/Time: Mon, 06 May 2024 07:19:09 +0000



[Programming Help] - control bars automatically moved by sierrachart?

View Count: 502

[2020-02-13 12:25:41]
User735389 - Posts: 188
on version 2028, although this quirk has caused me trouble before and im starting to see its behavior. So i have a floating control bar, which i use setwindow() to automatically move around and resize around the screen. I notice that in a lot of siutations, the control bar will move back to its original position. Im not sure what exactly causes it, but it happens in between studies, and im not seeing it anywhere in my code. If i call this from a differnt study from a detached window and not the main SierraChart window), it kinda works. Even then, the control bar jumps between the last position i manually moved it (dragging the title bar) to the position programmatically. As if its remembering its last position and I'm fighting for contorl over it. Not sure if this is a Windows thing or if you guys are doing things with the positioning. Do you guys know where this behavior is omcing from? Is there a way to disable it?
[2020-02-15 01:50:47]
User735389 - Posts: 188
After more troubleshooting im able to determine the specific behavior. It seems like after a chart has finished processing (run through its studies and whatever else might be happening), floating toolbars are moved back to its last known, user moved by mouse, position. I'm assuming its being moved and there arn't multiple control bars being managed / created / destroyed. When i click on a different chart, the control bar is again moved back to is last user location . Can you confirm Sierra Chart is causing the behavior? And is there a way to disable this behavior?

edit: this is happening for the active chart only. So i click on a chart, it is now active. And once this active chart has been processed, it will move the control bar.
Date Time Of Last Edit: 2020-02-15 02:31:36

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

Login

Login Page - Create Account