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

Method DownButtonClick

source/formhl.cpp:133–147  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

131}
132//---------------------------------------------------------------------------
133void __fastcall THighlightForm::DownButtonClick(TObject *Sender)
134{
135 if( DrawGrid->RowCount < 3 )
136 return;
137 if( DrawGrid->Row == DrawGrid->RowCount-1 )
138 return;
139 int ARow = DrawGrid->Row - 1;
140 TMessHighlightList * p = localHPL->GetCurrentProfile();
141 if( p )
142 {
143 p->Exchange(ARow, ARow + 1);
144 DrawGrid->Row = DrawGrid->Row + 1;
145 DrawGrid->Invalidate();
146 }
147}
148//---------------------------------------------------------------------------
149void __fastcall THighlightForm::DrawGridDrawCell(TObject *Sender, int ACol,
150 int ARow, TRect &Rect, TGridDrawState State)

Callers

nothing calls this directly

Calls 1

GetCurrentProfileMethod · 0.80

Tested by

no test coverage detected