---------------------------------------------------------------------------
| 17 | } |
| 18 | //--------------------------------------------------------------------------- |
| 19 | void TMessMatchFr::ToDialog(TMessMatch * p) |
| 20 | { |
| 21 | bEnableValuesChange = false; |
| 22 | |
| 23 | NotCB->Checked = p->bNot; |
| 24 | |
| 25 | for(int i=0; i<LOG_NPRIORITIES; i++) |
| 26 | PriorityLB->Checked[i] = p->PriorityMask & (1<<i); |
| 27 | for(int i=0; i<LOG_NFACILITIES; i++) |
| 28 | FacilityLB->Checked[i] = p->FacilityMask & (1<<i); |
| 29 | |
| 30 | FieldCB1->ItemIndex = p->Field1 * 2 + (p->Contains1 ? 0 : 1); |
| 31 | Memo1->Lines = p->Text1; |
| 32 | FieldCB2->ItemIndex = p->Field2 * 2 + (p->Contains2 ? 0 : 1); |
| 33 | Memo2->Lines = p->Text2; |
| 34 | MatchCaseCB->Checked = p->MatchCase; |
| 35 | bEnableValuesChange = true; |
| 36 | } |
| 37 | //--------------------------------------------------------------------------- |
| 38 | void TMessMatchFr::FromDialog(TMessMatch * p) |
| 39 | { |
nothing calls this directly
no outgoing calls
no test coverage detected