---------------------------------------------------------------------------
| 131 | } |
| 132 | //--------------------------------------------------------------------------- |
| 133 | void __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 | //--------------------------------------------------------------------------- |
| 149 | void __fastcall THighlightForm::DrawGridDrawCell(TObject *Sender, int ACol, |
| 150 | int ARow, TRect &Rect, TGridDrawState State) |
nothing calls this directly
no test coverage detected