Tab index

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

  • Posted 8 September 2017, 12:32 pm EST

    <FONT face=Verdana color=#000080 size=2>Hi..</FONT>

    <FONT face=Verdana color=#000080 size=2>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.</FONT>

    <FONT face=Verdana color=#000080 size=2>How can I achieve this ?? some suggestions please.....</FONT>

  • Replied 8 September 2017, 12:32 pm EST


    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.

    <TABLE cellSpacing=0><TR><TD></TD><TD></TD><TD>
    <FONT face="Lucida Console, Courier" size=2><FONT size=2><P></FONT><FONT color=#0000ff size=2>Dim</FONT><FONT size=2> im </FONT><FONT color=#0000ff size=2>As</FONT><FONT size=2> FarPoint.Win.Spread.InputMap

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

    im.Put(</FONT><FONT color=#0000ff size=2>New</FONT><FONT size=2> 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