Hi,
we use the DockManager to hold multiple tab pages. Each tab page contains a UltraPanel which holds multiple UserControls.
Note: The UserControls are created dynamically and can be dragged around by the user. AutoScroll is set to yes.
Whenever a tab is activated, the UltraPanel automaticalls scrolls to the first UserControl in its Control list.
How can we disable this scrolling when the tab is activated? Example: The user scrolls one of the controls so that the scrollbars appear. Then he opens another application (e.g. Explorer) which overlaps our application. After closing the explorer, our tab is activated (automatically because our application gets the focus?) and the UltraPanel scrolls to the FIRST control which has been added.
Any idea how this scrolling could be disabled?
Regards
Jörg
Hi Dave,
thanks for the reply.
We have overwritten the ScrollToControl method to "lock" the panel.
That's it.
Hello Joerg,
Thank you for contacting Infragistics.
If you switch out the UltraPanel for a regular System.Windows.Forms.Panel component, you'll see the same behavior. The panel controls automatically scroll into view the control that currently has focus.