Control Object Properties
EnterMode Set logic for ENTER key
   
Description This property is used to define how the ENTER key will be processed with the control. It is available for either the GRID control or the MULTI_LINE.

In the Grid control the possible values are:

0 Normal Processing (edits cell)
1 Move right across a grid by column, exit on last column
2 Move right across a grid by column, wrap to first column
3 Move down by row, hold on last row
4 Move down by row, return to column 1, hold on last row.

For the MULTI_LINE setting the EnterMode property defines whether the ENTER key is to be allowed within the control or considered a TAB to exit the control. When zero it indicates that the ENTER key will not be considered as a TAB thus, depending on the type of MULTI_LINE it will signal the input complete for a 1 line field or insert a line feed on a control with multiple input lines.



* Note * In the Grid, if the SHIFT key is press these key modes reverses the direction. In adiditon if the Tab/Enter '+E' mnemonic has been set, this properties will be ignored and the settings in the TabMode property will be used.


   
Default The default setting for the Grid is 0.

For the Multi_line, the default setting reflects the '+E' mnemonic setting.

   
Used by GRID  MULTI_LINE