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
180
UltraTab
posted

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

 

 

Parents
  • 20872
    Offline posted

    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.

     

Reply Children
No Data