Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
605
How to catch toggling of tab's dock state?
posted

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