MoveCursorOutsideField
Moves the cursor outside a field to the position before or after it.
Syntax
expression.MoveCursorOutsideField(fieldId, isBefore);
expression - A variable that represents a Api class.
Parameters
| Name | Required/Optional | Data type | Default | Description |
|---|---|---|---|---|
| fieldId | Optional | string | Field ID. If it is not specified, the current field is used. | |
| isBefore | Optional | boolean | true | Defines whether the cursor is moved before (true) or after (false) the field. |
Returns
This method doesn't return any data.
Example
Asc.plugin.executeMethod("MoveCursorOutsideField", [fieldId, false]);