This commit is contained in:
@@ -1455,7 +1455,7 @@ namespace VEPROMS
|
||||
_CurrentItem = null;
|
||||
ctrlAnnotationDetails.CurrentAnnotation = null;
|
||||
ctrlAnnotationDetails.Annotations = null;
|
||||
infotabRO.Visible = infotabTransition.Visible = infotabTags.Visible = infotabHistory.Visible = infotabApplicability.Visible = false;
|
||||
infotabFoldoutMaint.Visible = infotabRO.Visible = infotabTransition.Visible = infotabTags.Visible = infotabHistory.Visible = infotabApplicability.Visible = false;
|
||||
// When infotabTags is set to InVisible, the matching panel also needs to be set to invisible
|
||||
infotabControlPanelTags.Visible = false;
|
||||
displayTags.Visible = false;
|
||||
@@ -1480,6 +1480,7 @@ namespace VEPROMS
|
||||
displayRO.MyRTB = null;
|
||||
infotabTags.Visible = false;
|
||||
displayBookMarks.MyEditItem = null;
|
||||
displayFoldoutMaint.Visible = false;
|
||||
//vlnStackTrace.ShowStack("enter tc_ItemSelectedChanged {0}", _CurrentItem);
|
||||
}
|
||||
else
|
||||
@@ -1513,6 +1514,18 @@ namespace VEPROMS
|
||||
infotabApplicability.Visible = true;
|
||||
displayApplicability.MyItemInfo = args.MyEditItem.MyItemInfo;
|
||||
}
|
||||
if (args.MyEditItem.MyItemInfo.ActiveFormat != null)
|
||||
{
|
||||
// see if format has floating foldouts, and if so, display the panel.
|
||||
if (args.MyEditItem.MyItemInfo.ActiveFormat.PlantFormat.FormatData.PrintData.AlternateFloatingFoldout)
|
||||
{
|
||||
|
||||
displayFoldoutMaint.Visible = true;
|
||||
infotabFoldoutMaint.Visible = true;
|
||||
displayFoldoutMaint.Enabled = true;
|
||||
displayFoldoutMaint.MyItemInfo = args.MyItemInfo;
|
||||
}
|
||||
}
|
||||
// When infotabTags is set to Visible, it is given focus. The next line returns focus to the StepRTB
|
||||
args.MyEditItem.SetFocus();
|
||||
displayTransition.MyRTB = args.MyEditItem.MyStepRTB;
|
||||
|
Reference in New Issue
Block a user