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

Method DelFileButtonClick

source/setup.cpp:338–349  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

336}
337//---------------------------------------------------------------------------
338void __fastcall TSetupForm::DelFileButtonClick(TObject *Sender)
339{
340 if( DrawGrid->RowCount < 2 )
341 return;
342 int ARow = DrawGrid->Row - 1;
343 // Deleting default file "syslog" not allowed
344 if( ARow == 0 )
345 return;
346 localSFL->Del(ARow);
347 DrawGrid->RowCount = 1 + localSFL->Count;
348 DrawGrid->OnClick(this);
349}
350//---------------------------------------------------------------------------
351void __fastcall TSetupForm::DrawGridClick(TObject *Sender)
352{

Callers

nothing calls this directly

Calls 1

DelMethod · 0.45

Tested by

no test coverage detected