Emulation Property

Home Page (Objects)OverviewFAQReference

Applies to: TextEditor object

Gets or sets the emulation mode of the Developer Studio editor.

Syntax

object.Emulation [=mode]

Parameters

object

An expression that evaluates to a TextEditor object.

mode

A Long that sets the emulation mode of the editor. Possible values are:

Remarks

The Emulation property has the DsEmulation type.

The modes you choose correspond to settings on the Compatibility tab in the Options dialog box (Tools menu, Options command).

Warning   If you change emulation modes, you destroy all custom key assignments.

Example

The following example sets the emulation mode to BRIEF:

TextEditor.Emulation = dsBrief