---------------------------------------------------------------------------
| 257 | } |
| 258 | //--------------------------------------------------------------------------- |
| 259 | void __fastcall THighlightForm::OnFrameValuesChange(TObject *Sender) |
| 260 | { |
| 261 | if( DrawGrid->Row < 1 ) |
| 262 | return; |
| 263 | int ARow = DrawGrid->Row - 1; |
| 264 | TMessHighlightList * p = localHPL->GetCurrentProfile(); |
| 265 | if( p ) |
| 266 | { |
| 267 | TMessHighlight * mh = p->Get(ARow); |
| 268 | if( mh ) |
| 269 | { |
| 270 | mh->bEnable = ActiveCB->Checked; |
| 271 | MessMatchFr->FromDialog(&mh->Match); |
| 272 | MessStyleFr->FromDialog(&mh->Style); |
| 273 | DrawGrid->Invalidate(); |
| 274 | } |
| 275 | } |
| 276 | } |
| 277 | //--------------------------------------------------------------------------- |
| 278 | void __fastcall THighlightForm::HelpButtonClick(TObject *Sender) |
| 279 | { |
nothing calls this directly
no test coverage detected