Tab index

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

  • Posted 8 September 2017, 12:32 pm EST

    <P><FONT face=Verdana color=#000080 size=2>Hi..</FONT></P>
    <P><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></P>
    <P><FONT face=Verdana color=#000080 size=2>How can I achieve this ?? some suggestions please.....</FONT></P>
  • Replied 8 September 2017, 12:32 pm EST

    <P>Hello,</P>
    <P>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. </P><PRE class=source><TABLE cellSpacing=0><TR><TD></TD><TD></TD><TD><BR><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</P><P>im = FpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused)</P><P>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)</P></FONT></FONT><BR></TD></TR></TABLE></PRE>
Need extra support?

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

Learn More

Forum Channels