MCPcopy Create free account
hub / github.com/MediaArea/MediaInfo / M_File_Close_FileClick

Method M_File_Close_FileClick

Source/GUI/VCL/GUI_Main.cpp:1354–1368  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1352
1353//---------------------------------------------------------------------------
1354void __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//---------------------------------------------------------------------------
1371void __fastcall TMainF::M_File_Close_AllClick(TObject *Sender)

Callers

nothing calls this directly

Calls 1

CloseMethod · 0.45

Tested by

no test coverage detected