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

Method UpButtonClick

source/formhl.cpp:117–131  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

115}
116//---------------------------------------------------------------------------
117void __fastcall THighlightForm::UpButtonClick(TObject *Sender)
118{
119 if( DrawGrid->RowCount < 3 )
120 return;
121 if( DrawGrid->Row == 1 )
122 return;
123 int ARow = DrawGrid->Row - 1;
124 TMessHighlightList * p = localHPL->GetCurrentProfile();
125 if( p )
126 {
127 p->Exchange(ARow, ARow - 1);
128 DrawGrid->Row = DrawGrid->Row - 1;
129 DrawGrid->Invalidate();
130 }
131}
132//---------------------------------------------------------------------------
133void __fastcall THighlightForm::DownButtonClick(TObject *Sender)
134{

Callers

nothing calls this directly

Calls 1

GetCurrentProfileMethod · 0.80

Tested by

no test coverage detected