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

Method DownButtonClick

source/formprocess.cpp:96–106  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

94}
95//---------------------------------------------------------------------------
96void __fastcall TProcessForm::DownButtonClick(TObject *Sender)
97{
98 if( DrawGrid->RowCount < 3 )
99 return;
100 if( DrawGrid->Row == DrawGrid->RowCount-1 )
101 return;
102 int ARow = DrawGrid->Row - 1;
103 localPRL->Exchange(ARow, ARow + 1);
104 DrawGrid->Row = DrawGrid->Row + 1;
105 DrawGrid->Invalidate();
106}
107//---------------------------------------------------------------------------
108void __fastcall TProcessForm::DrawGridDrawCell(TObject *Sender, int ACol,
109 int ARow, TRect &Rect, TGridDrawState State)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected