User Tools

Site Tools

Navigation:  ABC Library Reference > BrowseClass > BrowseClass Properties >====== EnterAction (edit-in-place action on enter key) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page
EnterAction BYTE


The EnterAction property indicates the action to take when the end user presses the ENTER key during an edit-in-place process.There are two types of actions that EnterAction controls:

what to do with any changes (default, save, abandon, or prompt),

what mode to use next (continue editing or revert to non-edit mode).

The specified actions are implemented by the Ask method. Set the actions by assigning, adding, or subtracting the following EQUATEd values to ArrowAction. The following EQUATEs are in ABBROWSE.INC:


Default   EQUATE(0)       !save according to the Ask method

Always    EQUATE(1)       !always save the changes

Never     EQUATE(2)       !never save the changes

Prompted  EQUATE(4)       !ask whether to save the changes

Remain    EQUATE(8)       !continue editing



BRW1.EnterAction = EIPAction:Prompted                  !ask to save changes

BRW1.EnterAction = EIPAction:Prompted+EIPAction:Remain !ask to save, keep editing

See Also:     Ask

enteraction_edit_in_place_action_on_enter_key_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)