TIDEProjectFile.UpdateFormHeader Method
UpdateFormHeader changes the script source code in order to update the form header ($FORM directive). It is used by the IDE when the file name or form name changes, for example, so the script source code must be updated automatically.
Syntax
Unit: IDEMain
procedure TIDEProjectFile.UpdateFormHeader;