EditUp @Command (Formula Language)

Moves the insertion point in a document up by the number of lines you specify. If you don't specify a number, moves the insertion point up one line.

Syntax

@Command( [EditUp] ; count )

Parameters

count

Number. Optional. Specifies the number of lines to move up.

Usage

  • On a form in Design mode, moves the insertion point up one or count lines, as if the user had pressed up.
  • In a document in Edit mode, moves the insertion point up one line within the current field, or if there are no more lines in the current field, in the previous editable field (which must precede the current field).
  • In a document in Read mode, has no effect.
  • This command does not work on the Web.

If using this command in a hotspot button or any other element that causes a change in focus, the EditGoToField or EditTop command must be used first to return the focus to the document. The document must be in Edit mode.

Examples

This formula moves the insertion point up two lines.
@Command( [EditUp];"2" )