I would like to be notified whenever the user has moved a pane or pane group between docked and floating states. With the AfterDockChange event I get dragged panes, and with AfterToggleDockState I get panes whose captions have been double-clicked. But if the user double-clicks a pane's tab rather than its caption, neither event is raised.
How can I trap double-clicking of a tab?
As an aside, I'm interested in the pane that moved and its new location, not the dock area it was formerly part of, so it's awkward that the event args give me the latter, forcing me to look up the pane of interest.
I'm using v9.2.
Thanks
Hello,
Thank you for sharing this information.
Please let us know if you need any further assistance.
No need to answer this one. The events do get raised as expected.
When double-clicking a tab the event args report the DockableControlPane with a dock state of floating, which is inconsistent with all the other situations in which the events are raised, including double-clicking the floating pane's caption to return it to its former location in the tab group. But I can work around that.