MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / UpdateRotationViewControl

Method UpdateRotationViewControl

source/main.cpp:1418–1429  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1416}
1417//---------------------------------------------------------------------------
1418void __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

Callers

nothing calls this directly

Calls 1

IsRotationEnableMethod · 0.80

Tested by

no test coverage detected