---------------------------------------------------------------------------
| 1352 | |
| 1353 | //--------------------------------------------------------------------------- |
| 1354 | void __fastcall TMainF::M_File_Close_FileClick(TObject *Sender) |
| 1355 | { |
| 1356 | int Position=-1; |
| 1357 | if (Page->ActivePage==Page_Easy) |
| 1358 | Position=Page_Easy_File->ItemIndex; |
| 1359 | |
| 1360 | if (Page->ActivePage==Page_Sheet) |
| 1361 | Position=Page_Sheet_Sheet->Row-1; |
| 1362 | |
| 1363 | if (Position==-1) |
| 1364 | return; |
| 1365 | |
| 1366 | I->Close(Position); |
| 1367 | Refresh(); |
| 1368 | } |
| 1369 | |
| 1370 | //--------------------------------------------------------------------------- |
| 1371 | void __fastcall TMainF::M_File_Close_AllClick(TObject *Sender) |