The Numeric "Enter" Key can be customized to be an Enter or Tab key in V12

Date: 9 July 2010
Product/Release: Visual LANSA V12
Abstract: How to change the default behavior of the numeric "Enter" key to behave either as a Tab or Enter key.
Submitted By: LANSA Technical Support


Users may notice that in Version 12 the default behavior of the "Enter" key has changed.

Version 12 includes an enhancement to customize the behavior of the numeric Enter key when presses.

This has been brought about by the fact that Visual LANSA defaults the x_run parameter FLDX, which determines whether the Numeric Keypad Enter key acts as a Field Exit key or not (i.e. treat this enter key as a Tab). In previous versions, this defaulted to Y (to be a Tab key) however it has never behaved as expected. This has been rectified in V12.


If you would prefer to have the Numeric Enter key behave similar to the Keyboard Enter (i.e. not to Tab) then there is a simple way to customize this.

Change the x_run parameter FLDX to N (FLDX=N) in the Start file or in the X_LANSA.PRO. This will give you the desired effect without any code changes or recompiling.