Spread 8.0 Documentation
EditEnterAction Property
Support Options
ActiveX Reference > ActiveX Properties > EditEnterAction Property

Glossary Item Box

EditEnterAction Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns the action that occurs when the user presses the Enter key.

Syntax

C++

long CSpreadSheet::GetEditEnterAction( );
void CSpreadSheet::SetEditEnterAction(long value);

Visual Basic

[form.]fpSpread.EditEnterAction[ = setting%]

Remarks

The following settings are available:

Setting Description Constant
0 - None (Default) Active cell does not change EditEnterActionNone
1 - Up Active cell moves up EditEnterActionUp
2 - Down Active cell moves down EditEnterActionDown
3 - Left Active cell moves left EditEnterActionLeft
4 - Right Active cell moves right EditEnterActionRight
5 - Next Next cell becomes active cell
(Active cell moves in the order left to right, top to bottom.)
EditEnterActionNext
6 - Previous Previous cell becomes active cell
(Active cell moves in the order right to left, bottom to top.)
EditEnterActionPrevious
7 - Same Current cell remains active cell EditEnterActionSame
8 - Next Row Active cell moves to first column of next row EditEnterActionNextRow

This setting is applied to the entire workbook, including all sheets in the control.

By default, when the user presses the Enter key the active cell does not change. No matter what the setting of the EditEnterAction property is, when the user presses the Enter key, the cell leaves edit mode and the EditMode event occurs.

Spread Designer

Choose the Book menu, then the Keys menu, then the Enter menu, select the Enter Key Action tab, and then choose an option box in the Moves Active Cell group box in the Book Settings dialog box.

Data Type

Integer (Enumerated)

See Also

Using the Enter Key to Move Between Cells

EditMode, ProcessTab properties

EditError, EditMode events

DLL Correspondence

SSGetEditEnterAction, SSSetEditEnterAction functions

Copyright © GrapeCity, inc. All rights reserved.