|
|
EDITOR_SET_CURSOR
|
Syntax: |
EDITOR_SET_CURSOR(<Mask
Field>,<Cursor Position>[,<Mark
Until>[,<Handle>]])
|
||||||||
|
|
|
||||||||
|
Meaning: |
EDITOR_SET_CURSOR sets the cursor in a Word
Processor to the position <Cursorposition>. Note:
The cursor position is counted from 1 upwards. If <Cursorposition> < 0, the cursor
is moved to the end of the text. <Select until position> specifies until
where the text is to be selected. <Mask Field> has to be a Word Processor
field. <Handle> specifies the window that
contains the word processor field. <Handle> can contain the window
depth or the handle of a split window or a WINDOWCALL window. If the parameter <Handle> is missing, the word
processor field must be on the current mask. EDITOR_SET_CURSOR returns the cursor position
on which the cursor has been set, or an error number.
Attention:
This function has no effect with Html programs. |
||||||||
|
Parameter: |
|
||||||||
|
Sample: |
H% = EDITOR_SET_CURSOR(#5.#EDIT$,12) IF H% <> 0 THEN ... Error ... ENDIF |
||||||||
|
See also: |
|