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

Method OnFrameValuesChange

source/formhl.cpp:259–276  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

257}
258//---------------------------------------------------------------------------
259void __fastcall THighlightForm::OnFrameValuesChange(TObject *Sender)
260{
261 if( DrawGrid->Row < 1 )
262 return;
263 int ARow = DrawGrid->Row - 1;
264 TMessHighlightList * p = localHPL->GetCurrentProfile();
265 if( p )
266 {
267 TMessHighlight * mh = p->Get(ARow);
268 if( mh )
269 {
270 mh->bEnable = ActiveCB->Checked;
271 MessMatchFr->FromDialog(&mh->Match);
272 MessStyleFr->FromDialog(&mh->Style);
273 DrawGrid->Invalidate();
274 }
275 }
276}
277//---------------------------------------------------------------------------
278void __fastcall THighlightForm::HelpButtonClick(TObject *Sender)
279{

Callers

nothing calls this directly

Calls 3

GetCurrentProfileMethod · 0.80
GetMethod · 0.45
FromDialogMethod · 0.45

Tested by

no test coverage detected