C2020-013 don’t disable the Create PDF ribbon button
This commit is contained in:
parent
c97cdfa0d5
commit
7c1a409c0c
@ -682,22 +682,6 @@ namespace VEPROMS
|
|||||||
{
|
{
|
||||||
pnl.ApplDisplayMode = displayApplicability.ViewMode;
|
pnl.ApplDisplayMode = displayApplicability.ViewMode;
|
||||||
displayHistory.ApplDisplayMode = pnl.ApplDisplayMode;
|
displayHistory.ApplDisplayMode = pnl.ApplDisplayMode;
|
||||||
//added by jcb 20130718 to support enabling/diabling create pdf button until user selects a unit
|
|
||||||
if (pnl.ApplDisplayMode > 0)
|
|
||||||
{
|
|
||||||
pnl.MyStepTabPanel.MyStepTabRibbon.btnPdfCreate.Enabled = true;
|
|
||||||
pnl.MyStepTabPanel.MyStepTabRibbon.btnCASCreate.Enabled = true;
|
|
||||||
pnl.MyStepTabPanel.MyStepTabRibbon.btnReviewCreatePDF.Enabled = true;
|
|
||||||
btnPrint.Visible = true;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
pnl.MyStepTabPanel.MyStepTabRibbon.btnPdfCreate.Enabled = false;
|
|
||||||
pnl.MyStepTabPanel.MyStepTabRibbon.btnCASCreate.Enabled = false;
|
|
||||||
pnl.MyStepTabPanel.MyStepTabRibbon.btnReviewCreatePDF.Enabled = false;
|
|
||||||
btnPrint.Visible = false;
|
|
||||||
}
|
|
||||||
//end added by jcb 20130718
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user