Table of Contents

TIDEProjectFile.SaveFormToString Method

Saves the current form data to a string and returns it. Use LoadFormFromString to restore it later.

Remarks

Saves the current form (if exists) in a string. The method returns the string which contains the form data which can later be loaded using LoadFormFromString. Use ADFMFormat to specify if the string will contain form data in binary or text format (default).

Syntax

Unit: IDEMain

function TIDEProjectFile.SaveFormToString(ADFMFormat: TDFMFormat = TDFMFormat.dfmText): string;

Parameters

<-> Parameter Type Description
ADFMFormat TDFMFormat Optional: Default value is TDFMFormat.dfmText

See also