Overtype Property

Home Page (Objects)OverviewFAQReference

Applies to: TextEditor object

Gets or sets whether the editor is in overtype mode.

Syntax

object**.Overtype** [=boolean]

Parameters

object

An expression that evaluates to a TextEditor object.

boolean

A Boolean that sets the Overtype property. Possible values are:

  • True   Changes to overtype mode.

  • False   Changes to insert mode.

Remarks

The Overtype property has the Boolean type.

By default, the editor is in insert mode.

Example

The following example sets the editor to overtype mode:

TextEditor.Overtype = True

See Also   DestructiveInsert method, Indent method, NewLine method, Text property, Unindent method.