Compare commits
4 Commits
C2025-003
...
C2025-006_
Author | SHA1 | Date | |
---|---|---|---|
4fc3b89e06 | |||
a17419ac12 | |||
88905132e7 | |||
111bed58d6 |
@@ -1129,7 +1129,7 @@ namespace ctlXMLEditLib
|
|||||||
mylabel.BackColor = chlbckcolor; // PC Applic fields are shaded blue otherwise backcolor is transparent
|
mylabel.BackColor = chlbckcolor; // PC Applic fields are shaded blue otherwise backcolor is transparent
|
||||||
mylabel.Location = new Point(screenx+indent, screeny);
|
mylabel.Location = new Point(screenx+indent, screeny);
|
||||||
mylabel.Name = (pcChildIdx == 0) ? CvtUserFldToFld(element.Name) : CvtUserFldToFld(pcChildFldName);
|
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;
|
mylabel.AutoSize = true;
|
||||||
Controls.Add(mylabel);
|
Controls.Add(mylabel);
|
||||||
// add 3 onto screeny so that textbox is slightly below label.
|
// add 3 onto screeny so that textbox is slightly below label.
|
||||||
@@ -1696,7 +1696,7 @@ namespace ctlXMLEditLib
|
|||||||
}
|
}
|
||||||
catch (Exception ee)
|
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)
|
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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user