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
615
ExplorerBar focus on text editor
posted

Hello,

I've got an ExplorerBar setup as ListBar with ControlContainers as content. The ControlContainers contain different controls (grid, texteditor).

I want the first editable control in a group to automatically get focus when the group is folded open. So when the user clicks a group which contains a texteditor control; the group should open and the text editor should immediately have focus so the user can start typing at once.

I tried almost every event the ExplorerBar offers, but none will do the trick. I tried Select / Focus in the ActiveGroupChanged event on both the container as the control in the container, but without luck unfortunately.