---------------------------------------------------------------------------
| 115 | } |
| 116 | //--------------------------------------------------------------------------- |
| 117 | void __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 | //--------------------------------------------------------------------------- |
| 133 | void __fastcall THighlightForm::DownButtonClick(TObject *Sender) |
| 134 | { |
nothing calls this directly
no test coverage detected