---------------------------------------------------------------------------
| 1416 | } |
| 1417 | //--------------------------------------------------------------------------- |
| 1418 | void __fastcall TMainForm::UpdateRotationViewControl(void) |
| 1419 | { |
| 1420 | TStorageFile * sf = fdb->GetByNumber( FileNumber ); |
| 1421 | if( ! sf ) |
| 1422 | return; |
| 1423 | bool b = sf->IsRotationEnable(); |
| 1424 | |
| 1425 | //aRotatePrev->Visible = b; // this caused: toolbar buttons visibility failure |
| 1426 | aRotatePrev->Enabled = b; |
| 1427 | //aRotateNext->Visible = b; // this caused: toolbar buttons visibility failure |
| 1428 | aRotateNext->Enabled = FileRotationNumber > 0; |
| 1429 | } |
| 1430 | //--------------------------------------------------------------------------- |
| 1431 |
nothing calls this directly
no test coverage detected