## The `seltext' property

Character vector

Valid for: Browser, Edit, RichEdit, Document, Combo (except under MacOS)

When you read the `seltext` property, the contents of the currently-selected text will be returned as a character vector. If there is no current selection, an empty vector will be returned.

When you write to the `seltext` property, the current selection (if any) will be erased, and the text you write will be displayed in the edit control at the selection point. For a RichEdit control, this text will be formatted according to the `selfont`, `selcolor`, `selalign`, `selbullets` and `selindents` properties.

The `seltext` property is read-only for a Browser object.

Topic: APLX Help : System Classes : Properties : seltext

[ Previous | Next | Contents | Index ]