Skip to content
Snippets Groups Projects
Commit 5ca032bb authored by rswindell's avatar rswindell
Browse files

Save form height/width when closing.

parent a6eedb30
No related branches found
No related tags found
No related merge requests found
......@@ -152,3 +152,12 @@ void __fastcall TPreviewForm::FormShow(TObject *Sender)
fclose(fp);
}
//---------------------------------------------------------------------------
void __fastcall TPreviewForm::FormClose(TObject *Sender,
TCloseAction &Action)
{
MainForm->SpyTerminalWidth=Width;
MainForm->SpyTerminalHeight=Height;
}
//---------------------------------------------------------------------------
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment