I have an UltraTab with multiple Tabs of horizontal alignment
On each Tab i have a panel which is scrollable containing a lot of controls
when a user clicks on a tab or more say when a tab is activated .they would like the mouse wheel is activated on the panel so they can scroll (It is now scrollable only when they click on a control like a text box or a grid but cannot scroll by the mouse wheel) i just dont know what to any ideas??
Thanks,
Vidya
Hello Vidya,
If you have a panel inside your tab, you should set the focus of the ClientArea in the UltraPanel in order to be able to scroll.
One approach would be something like the following depends on your current scenario:
private void ultraTabControl1_SelectedTabChanged(object sender, Infragistics.Win.UltraWinTabControl.SelectedTabChangedEventArgs e) { if (e.Tab.TabPage.Controls.Count > 0 && e.Tab.TabPage.Controls[0] is UltraPanel) { ((UltraPanel)e.Tab.TabPage.Controls[0]).ClientArea.Focus(); } }
Please let me know if you have any other questions.
I have a similar issue. I have a Panel and on top of it I am using a UserControl. The userconrtol scroll works but I want the MouseWheel to work too. However there is no MouseWheel event in the UserControl. How do I get the MouseWheel to work.
Rahul Kapoor