Table of Contents

TIDEFormDesignControl Class

Visual control used by the Scripter Studio IDE to host and manage form design operations for script forms.

Remarks

TIDEFormDesignControl is a visual control used by the Scripter Studio IDE to allow form designing. When the form is being designed in the IDE, the parent control of the form is the TIDEFormDesignControl, which implements all designing behavior. This control is used only in a Scripter Studio IDE and cannot be used separately to edit an existing Delphi form. Only script forms can be edited.

Syntax

Unit: IDEMain

TIDEFormDesignControl = class(TScrollingWinControl);

Methods

Name Description
LoadFromDFM Loads the form being designed from the file specified by FileName. The DFMFormat parameter can be used to specify a text format, or a binary format.
LoadFromStream Loads the form being designed from the stream specified by AStream. The DFMFormat parameter can be used to specify a text format, or a binary format.
SaveToDFM Saves the form being designed to the file specified by FileName. The DFMFormat parameter can be used to specify a text format, or a binary format.
SaveToStream Saves the form being designed to the stream specified by AStream. The DFMFormat parameter can be used to specify a text format, or a binary format.
UpdateFrame UpdateFrame is called by the designer when the frame control needs to be updated according to the position of the form being edited.

Properties

Name Description
EditForm Contains the TIDEScriptForm form that will be designed.
Engine Points to the TIDEEngine component that will perform all IDE control.
PopupMenu Contains the reference to a TPopupMenu to be used as the popup menu of the form designer.