From 4fc3b89e06f0538ee377964be23da7922589a8a9 Mon Sep 17 00:00:00 2001 From: mschill Date: Wed, 22 Jan 2025 06:26:48 -0500 Subject: [PATCH] C2025-006_B2025-006 - C2025-006 RO Editor Figure wording update, B2025-006 RO Editor Figure Height or Width warning message update --- .../ReferencedObjects/LibSource/ctlXMLEditLib/ctlXMLEdit.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PROMS/ReferencedObjects/LibSource/ctlXMLEditLib/ctlXMLEdit.cs b/PROMS/ReferencedObjects/LibSource/ctlXMLEditLib/ctlXMLEdit.cs index 9e1c5208..c212c274 100644 --- a/PROMS/ReferencedObjects/LibSource/ctlXMLEditLib/ctlXMLEdit.cs +++ b/PROMS/ReferencedObjects/LibSource/ctlXMLEditLib/ctlXMLEdit.cs @@ -1129,7 +1129,7 @@ namespace ctlXMLEditLib mylabel.BackColor = chlbckcolor; // PC Applic fields are shaded blue otherwise backcolor is transparent mylabel.Location = new Point(screenx+indent, screeny); mylabel.Name = (pcChildIdx == 0) ? CvtUserFldToFld(element.Name) : CvtUserFldToFld(pcChildFldName); - mylabel.Text = (applicLabel.Length > 0) ? applicLabel : CvtFldToUserFld(element.Name); // C2021-026 applicLabel is the P/C Child name + mylabel.Text = (applicLabel.Length > 0) ? applicLabel : CvtFldToUserFld(element.Name).Replace("Image_",""); // C2021-026 applicLabel is the P/C Child name mylabel.AutoSize = true; Controls.Add(mylabel); // add 3 onto screeny so that textbox is slightly below label. @@ -1696,7 +1696,7 @@ namespace ctlXMLEditLib } catch (Exception ee) { - MessageBox.Show("Invalid Height Input",ee.ToString()); + MessageBox.Show("The Height and Width cannot be empty fields. Enter a number in either field and the other will automatically adjust to a proportional size.", "Invalid Height Input"); } } } @@ -1713,7 +1713,7 @@ namespace ctlXMLEditLib } catch (Exception ee) { - MessageBox.Show("Invalid Width Input", ee.ToString()); + MessageBox.Show("The Height and Width cannot be empty fields. Enter a number in either field and the other will automatically adjust to a proportional size.", "Invalid Width Input"); } } }