Table of Contents

TIDEProjectFile.ViewMode Property

Gets or sets whether the file is currently displayed as source code or as a form designer.

Remarks

Indicates what part of the file is being current displayed in the scripter ide, if the script source code (unit) or the form designer. This property is read-write, so you can set its value to specify what you want to be displayed. If the file does not contain a form, only a script, the ViewMode value will always vmUnit. Setting it to vmForm won't change its value.

Syntax

Unit: IDEMain

property TIDEProjectFile.ViewMode: TIDEFileViewMode

See also