I'm looking to subscribe to an event thrown when switching tabs in a floating dock area.
Where can I find this?
EDIT: On a related note, I'm also looking for the event thrown when a user clicks "Floating" in the UltraTabbedMdiManager.
Thanks.
Hello,
I am not sure that I completely understand your scenario, could you be more specific ?
If you looking for an event which is fired when you navigate through pane then you could use PaneActivate, please note that tabs in the groups in DockManager are panes.
Let me know if you have any further questions.
Doh. Of course..
More on this later when I implement. Currently I am working on another project.
Okay, a little more information on what I am trying to accomplish.
In the attached screenshot there are 3 screens. I defining a custom property for "active/inactive" states to control update events. What I want is to have screens which are not visible to the user (as in "All Inventories" is hidden from view) to be flagged as inactive.
In this scenario there are 2 active screens, All Pro Traders, All Departments.
I'm finding this difficult because all 3 tabs are in the same group and dock window, so I haven't been able to find a property to distinguish them.
Hello ,
As far as I understand your scenario you want to indicate which pane is visible. To do this you could iterate through ControlPanes collection of the UltraDockManger and check if the IsVisible or IsInView property of the pane.
Ah. I see the confusion.
When using an UltraTabbedMdiManager and a UltraDockManager in unison the IsInView flag behaves differently in each control. In the MdiManager, panes seem to always be in view where as the dock manager modifies this property accordingly.
Because I was using both of these controls I ended up using several events to control my custom state property appropriately.
Once I noticed that the rest was simple. Thank you for the pointers they were most helpful!