---------------------------------------------------------------------------
| 692 | } |
| 693 | //--------------------------------------------------------------------------- |
| 694 | void LoadPosition(TForm * f, int * param, int count) |
| 695 | { |
| 696 | TMYIniFile * p = NULL; |
| 697 | try |
| 698 | { |
| 699 | // open in read only mode |
| 700 | p = new TMYIniFile(szPositionFile, false, false); |
| 701 | LoadFormPosition(p, f); |
| 702 | // ������� �������������� ���������, ���� ���� |
| 703 | if( param && count>0 ) |
| 704 | { |
| 705 | char str[20]; |
| 706 | for(int i=0; i<count; i++) |
| 707 | { |
| 708 | wsprintf(str, "PARAM%d", i+1); |
| 709 | param[i] = p->ReadInteger(AnsiString(f->Name).c_str(), str, 0); |
| 710 | } |
| 711 | } |
| 712 | } |
| 713 | catch(...) {} |
| 714 | delete p; |
| 715 | } |
| 716 | //--------------------------------------------------------------------------- |
| 717 | void LoadPosition(TForm * f, double * param, int count) |
| 718 | { |
nothing calls this directly
no test coverage detected