I know in the UI a user can configure an Indicator to go to one of
* the same panel as the instrument
* into a specific already-existing numbered panel
* into a new panel.
I feel like the user can't even specify interactively what I'm talking about...
Is there a way to do that programmatically?
P.S. the way I've tried doing it looks like tihs:
-> during State == State.DataLoaded, my 2nd indicator looks through the loaded indicators, finds what panel the 1st indicator was assigned to, and changes its data member "IndicatorBase.Panel" to match that of the first Indicator
The problem is - this appears to be "too late" - the assignment doesn't immediately change where the 2nd Indicator is placed... until the user hits "F5" - at which point the 2nd indicator disappears from its 2nd panel and reappears where I directed it, to the 1st panel - but then an ugly "empty panel" is left.
If the user hits "F5" a 2nd time, the ugly "empty panel" disappears.
So I can do what I want, but at an awful ugly cost - the user has to hit F5, twice!
Isn't there a better way to do this?

).
Comment