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

Method AddButtonClick

source/formhl.cpp:90–101  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

88}
89//---------------------------------------------------------------------------
90void __fastcall THighlightForm::AddButtonClick(TObject *Sender)
91{
92 TMessHighlightList * p = localHPL->GetCurrentProfile();
93 if( p )
94 {
95 TMessHighlight * mh = new TMessHighlight;
96 p->Add(mh);
97 DrawGrid->RowCount = 1 + p->Count;
98 DrawGrid->Row = DrawGrid->RowCount - 1;
99 DrawGrid->FixedRows = 1;
100 }
101}
102//---------------------------------------------------------------------------
103void __fastcall THighlightForm::DelButtonClick(TObject *Sender)
104{

Callers

nothing calls this directly

Calls 2

GetCurrentProfileMethod · 0.80
AddMethod · 0.45

Tested by

no test coverage detected