From 0b12805d4a7b49920865077765aac2cb2a2c5a78 Mon Sep 17 00:00:00 2001 From: mschill Date: Thu, 31 Oct 2024 15:44:28 -0400 Subject: [PATCH] =?UTF-8?q?C2024-034=20RO=20Editor=20=E2=80=93=20Enhanceme?= =?UTF-8?q?nt=20for=20when=20=E2=80=9CStandard=20Fields=E2=80=9D=20are=20m?= =?UTF-8?q?odified.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ReferencedObjects/LibSource/RODBInterface/RODBInterface.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PROMS/ReferencedObjects/LibSource/RODBInterface/RODBInterface.cs b/PROMS/ReferencedObjects/LibSource/RODBInterface/RODBInterface.cs index d80335e4..2a5d8c8b 100644 --- a/PROMS/ReferencedObjects/LibSource/RODBInterface/RODBInterface.cs +++ b/PROMS/ReferencedObjects/LibSource/RODBInterface/RODBInterface.cs @@ -2667,8 +2667,9 @@ namespace RODBInterface bool isused = RODB_CheckForStandardName(oldname); if (isused == true) { - MessageBox.Show("The field name is used to define new Setpoints or Graphics Database.\n The update will be for this local (database) group only.", "Field name modification."); + DialogResult result = MessageBox.Show($"The field name is used to define new Setpoints or Graphics Database.\n\n The update will be for this local (database) group only.\n\n Select OK to update local definition for all items in that table ({GetTopParentName(myelem)}).", "Field name modification.", MessageBoxButtons.OKCancel, MessageBoxIcon.Question); changegeneric = false; + if(result == DialogResult.Cancel) return false; } }