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

Method DelButtonClick

source/formhl.cpp:103–115  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

101}
102//---------------------------------------------------------------------------
103void __fastcall THighlightForm::DelButtonClick(TObject *Sender)
104{
105 if( DrawGrid->RowCount < 2 )
106 return;
107 int ARow = DrawGrid->Row - 1;
108 TMessHighlightList * p = localHPL->GetCurrentProfile();
109 if( p )
110 {
111 p->Del(ARow);
112 DrawGrid->RowCount = 1 + p->Count;
113 DrawGrid->OnClick(this);
114 }
115}
116//---------------------------------------------------------------------------
117void __fastcall THighlightForm::UpButtonClick(TObject *Sender)
118{

Callers

nothing calls this directly

Calls 2

GetCurrentProfileMethod · 0.80
DelMethod · 0.45

Tested by

no test coverage detected