Sets the input focus to the specified text part. If the activated text part is not in the visible part of the document, the document is scrolled.
<void> TextPartCollection.activate(<FormattedText> formattedText, [<RequestBooleanCallback> callback], [<ErrorCallback> errorCallback])| Parameter | Description |
|---|---|
| formatted |
Specifies which formatted text will be activated. |
| callback | Optional. Receives true, if the specified text part could be activated. Otherwise it is false. |
| error |
Optional. Is called when the operation failed with an error. |