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.
public bool Activate(object textPart);
Public Function Activate(TextPart As System.Object) As Boolean
Parameter | Description |
---|---|
text |
Specifies the object to activate. It must be an object of the type Main |
The return value is true, if the specified text part could be activated. Otherwise it is false.