---------------------------------------------------------------------------
| 389 | } |
| 390 | //--------------------------------------------------------------------------- |
| 391 | void __fastcall TMainForm::UpdateDislpayInfo(void) |
| 392 | { |
| 393 | String s; |
| 394 | if( ViewFileMode ) |
| 395 | s = ViewFileName + " "; |
| 396 | // If the text file is not completely read |
| 397 | if( aMoreLines->Enabled ) |
| 398 | s += "[the last " + GetBytesStringEng(ReadedSize) + |
| 399 | " of the " + GetBytesStringEng(FileSize) + "]"; |
| 400 | if( FileRotationNumber > 0 ) |
| 401 | s += String(" ") + ExtractFileName(fFile); |
| 402 | |
| 403 | ViewFileInfoLabel->Caption = s; |
| 404 | |
| 405 | int lc = MessList->Count; |
| 406 | if( TotalLines != lc ) |
| 407 | GroupBox2->Caption = "Displaying " + IntToStr(lc) + " messages of " + |
| 408 | IntToStr(TotalLines); |
| 409 | else |
| 410 | GroupBox2->Caption = "Displaying " + IntToStr(lc) + " messages"; |
| 411 | } |
| 412 | //--------------------------------------------------------------------------- |
| 413 | void __fastcall TMainForm::Clear(void) |
| 414 | { |
nothing calls this directly
no test coverage detected