User Tools

Site Tools


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

blk2blue.jpg

The ArrowAction property indicates the action to take when the end user presses the up or down arrow key during an edit-in-place process. There are three types of actions that ArrowAction 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),

what column to edit next (current column or first editable column).

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:

ITEMIZE,PRE(EIPAction)

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

RetainColumn EQUATE(16)      !maintain column position in new row

END

Example:

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

BRW1.ArrowAction = EIPAction:Prompted+EIPAction:Remain

!ask to save, keep editing 1st editable column

BRW1.ArrowAction = EIPAction:Remain+EIPAction:RetainColumn

!default save, keep editing same column

See Also:     Ask

arrowaction_edit_in_place_action_on_arrow_key_.htm.txt · Last modified: 2021/04/15 15:56 by 127.0.0.1