EnterGoTo

Updated October 2013

EnterGoto=# specifies the column # to jump to when the Enter key is hit while editing a cell in this column. If #>0, it jumps to defined column # in the next row. If #<0, it jumps to defined column # in the current row. (Defined column numbers are based on the order in which they are defined in the coldef string; this could be unrelated to the display column # due to both hidden columns and reordering - see XTF_REORD.) If EnterGoto is not specified, the default is for Enter to act like Tab and advance to the next editable cell to the right, wrapping to the next row if necessary, unless the XTF2_ENTERNAVDOWN flag is specified.

Beginning in A-Shell 6.1.1318, EnterGoto=# may now be set to 0 (EnterGoto=0) to cause the tree to exit on ENTER, with exitcode = -48. If you don't like exitcode -48, you can use the syntax EnterGoto=##### where ##### is >= 10000, or <= -10000, in which case it will return with exitcode set to the specified value offset by 10000. For example, EnterGoto=10099 will return exitcode 99, while EnterGoto=-12500 will return exitcode -2500.

History

2012 October, A-Shell 6.1.1318:  Accept value of zero, as described above.