C2026-021_B2026-048 Expand Functionality of Viewing Mode

This commit is contained in:
2026-05-29 06:06:58 -04:00
parent ffa7e21c18
commit a5a3f16177
7 changed files with 213 additions and 72 deletions
+22 -1
View File
@@ -245,6 +245,20 @@ namespace Volian.Controls.Library
}
protected void MyContent_Changed(object sender)
{
//C2026-021 Expand Functionality of Viewing Mode
if (MyStepPanel.ApplDisplayMode > 0)
{
MyItemInfo.MyDocVersion.DocVersionConfig.SelectedSlave = MyStepPanel.ApplDisplayMode;
MyItemInfo.MyProcedure.ProcedureConfig.SelectedSlave = MyStepPanel.ApplDisplayMode;
}
else
{
MyItemInfo.MyDocVersion.DocVersionConfig.SelectedSlave = 0;
MyItemInfo.MyProcedure.ProcedureConfig.SelectedSlave = 0;
}
MyItemInfo.MyProcedure.ResetChangeBar();
// Update the text to reflect the content change
MyItemInfo.RefreshItemAnnotations();
ChangeBar = MyItemInfo.HasChangeBar;
@@ -4114,7 +4128,14 @@ namespace Volian.Controls.Library
}
}
}
//// TIMING: DisplayItem.TimeIt("CSLARTB Parent");
//// TIMING: DisplayItem.TimeIt("CSLARTB Parent");
//C2026-021 Expand Functionality of Viewing Mode
if (MyStepPanel.ApplDisplayMode > 0)
MyItemInfo.MyDocVersion.DocVersionConfig.SelectedSlave = MyStepPanel.ApplDisplayMode;
else
MyItemInfo.MyDocVersion.DocVersionConfig.SelectedSlave = 0;
SetText();
if (itemInfo.IsSupInfoPart)
{