I'm using UltraDockManager to manage several dockable panes that are inside one parent container. The issue I'm having is that when the user is in one of the panes on a form and is tabbing through the controls on the form, when the user gets to the last control on the form the tabbing order doesn't start over with the first control. Instead, the tabbing moves to the next pane in my parent container and starts tabbing through the controls in that pane. How can I keep the tabbing from going between panes? The ideal behavior I would like is to have the tabbing stay within the pane and on the same form the user is tabbing through.
Thanks,
Steve
Hello Steve,
I think that you can do that in the PaneActivate event of your UltraDockManager. Because you are able to activate the pane without mouse click. In most cases it depends on your custom scenario.
Please let me know if you need further assistance.
Sincerely,
Danko Valkov
Developer Support Engineer
Infragistics, Inc.
Hi Danko,
Any thoughts or suggestions regarding my last post (i.e. what handler/method to put the snippet of code you provided) ...
Thanks for the code snippet. I think that will work well for my app. Just one additional question, what method/event do you recommend this code be placed? My thought is that it would need to execute each time a tab or pane is clicked on. Is that correct?
Thank you!
What about setting the focus back tot he first control in the form on the leave event of the last control? I know... not the best solution, but I thought I mention it anyway.
Hello Steve,If I understand correctly your scenario you have a DockAreaPane which contains few DockableControlPanes. So you want to keep the focus only in the active DockableControlPane when you are tabbing.So you could try following code snippet that should allow you to tabbing only in the active DockableControlPane foreach (DockableControlPane dcp in ultraDockManager1.DockAreas["DesiredDockAreaPane"].Panes) { if(!dcp.IsActive) { dcp.Control.TabStop = false; } }Please let me know if you have any further question on this matter and I will be glad to help.