Tab index

Posted by: geniusg on 8 September 2017, 12:32 pm EST

  • Posted 8 September 2017, 12:32 pm EST

    Hi..


    I am using Spread 2.5 for .Net. I want to disable the Tab movement within the Spread i.e. on pressing the Tab key, the focus should not shift to the next cell, rather it should move to the next control in the form.


    How can I achieve this ?? some suggestions please.....

  • Replied 8 September 2017, 12:32 pm EST

    Hello,


    By default, this key is being processed. You would need to turn off the processing by setting the SpreadAction assigned to this keystroke to SpreadActionsNone in the InputMap.


    Dim im As FarPoint.Win.Spread.InputMap

    im = FpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused)

    im.Put(New FarPoint.Win.Spread.Keystroke(Keys.Tab, Keys.None), FarPoint.Win.Spread.SpreadActions.None)


Need extra support?

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

Learn More

Forum Channels