tab movement from horizontal to vertical

Posted by: suvi on 8 September 2017, 12:57 pm EST

  • Posted 8 September 2017, 12:57 pm EST

    Hi


    I want when a user press TAB key, cursor should move vertically not horizontally.


    i am using Spread for Windows Forms v25 for Visual Studio 2005.


    please suggest.


    Thanks


    Deepak


     


     

  • Replied 8 September 2017, 12:57 pm EST

    Deepak,


    You can change the entry of the Tab key in the InputMap to get this functionality.

     <PRE class=coloredcode> <SPAN class=kwd>Dim</SPAN> im <SPAN class=kwd>As</SPAN> FarPoint.Win.Spread.InputMap = FpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused)
    im.Put(<SPAN class=kwd>New</SPAN> FarPoint.Win.Spread.Keystroke(Keys.Tab, Keys.None), FarPoint.Win.Spread.SpreadActions.MoveToNextRowWrap)
    </PRE> 
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels