Header: textarea.h
Syntax:
extern _kernel_oserror *textarea_set_cursor_position
(
unsigned int flags,
ObjectId window,
ComponentId textarea,
unsigned int index,
unsigned int *old_index
);
Purpose: Function sets the cursor position within a text area to index and writes the previous position to old_index (requires TextGadgets 0.22). If necessary the text is scrolled to reveal the new location. Flags bit 1 is of dubious value since the caret is automatically hidden in faded or display-only text areas.
|
|
|