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
115
Wingrid tabbing and valuelists
posted

I have been asked to modify several existing forms with wingrids to prevent tabbing or alt-tabbing past the first or last rows.

I have done this before by doing catching the grid_KeyDown event & determining what row and cell i am on & what key has been pressed. but i noticed that it doesn't seem to work when the cell is of type valuelist.

I also seen where I could use grid_BeforePerformAction, but it also doesn't seem to work for valuelists.

I am using netadvantage 2006 vol3 clr2.0

Thanks!
//Charlie
bitFlinger@hotmail.com

  • 469350
    Offline posted

    Hi Charlie,

    You are doing it the hard way. :)


            private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
            {
                e.Layout.TabNavigation = TabNavigation.NextCell;           
            }

    It should not make any difference if the cell has a ValueList or not. If that is making a difference, then something is wrong. In which case, the first thing I recommend is that you get the latest service release. If that doesn't help, let us know and we will look into it further.

    How to get the latest service release - Infragistics Community