MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / SaveFormPosition

Function SaveFormPosition

sourcecommon/utils.cpp:682–692  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

680}
681//---------------------------------------------------------------------------
682void SaveFormPosition(TMYIniFile * p, TForm * f)
683{
684 try
685 {
686 p->WriteInteger(AnsiString(f->Name).c_str(), "Left", f->Left);
687 p->WriteInteger(AnsiString(f->Name).c_str(), "Top", f->Top);
688 p->WriteInteger(AnsiString(f->Name).c_str(), "Width", f->Width);
689 p->WriteInteger(AnsiString(f->Name).c_str(), "Height", f->Height);
690 }
691 catch(...) {}
692}
693//---------------------------------------------------------------------------
694void LoadPosition(TForm * f, int * param, int count)
695{

Callers 1

SavePositionFunction · 0.85

Calls 1

WriteIntegerMethod · 0.45

Tested by

no test coverage detected