C2019-036 View Only Mode - Handle special case where item is opened in a separate window and tabs are remembered

This commit is contained in:
2025-11-19 08:42:09 -05:00
parent 6d99c456e4
commit 261f5a526c

View File

@@ -630,6 +630,8 @@ namespace Volian.Controls.Library
if (
(dti != null && dti.MyStepTabPanel.MyStepPanel.VwMode == E_ViewMode.View)
||
(SeparateWindows && (VersionID == 0 || VersionID != myItemInfo.MyDocVersion.VersionID))
|| //to handle special case where item will be opened in a separate window
MessageBox.Show(this, message, "Procedure Already Checked Out", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
viewonlymode = true;
else