diff --git a/PROMS/ReferencedObjects/LibSource/ctlXMLEditLib/ctlXMLEdit.cs b/PROMS/ReferencedObjects/LibSource/ctlXMLEditLib/ctlXMLEdit.cs index 5219a12b..db77ffbf 100644 --- a/PROMS/ReferencedObjects/LibSource/ctlXMLEditLib/ctlXMLEdit.cs +++ b/PROMS/ReferencedObjects/LibSource/ctlXMLEditLib/ctlXMLEdit.cs @@ -1288,7 +1288,7 @@ namespace ctlXMLEditLib { object o = myHT[parentid]; if (o != null) - dfTxt = (o as TextBox).Text; // set to use the parent's value (default) + dfTxt = (o as roRichTextBox).Text; // set to use the parent's value (default) } else { @@ -1296,7 +1296,7 @@ namespace ctlXMLEditLib string parName = pcGrpBox.Name.Substring(5); object o = myHT[parName]; if (o != null) - dfTxt = (o as TextBox).Text; // set to use the parent's value (default) + dfTxt = (o as roRichTextBox).Text; // set to use the parent's value (default) } } catch @@ -1304,7 +1304,7 @@ namespace ctlXMLEditLib string parName = pcGrpBox.Name.Substring(5); object o = myHT[parName]; if (o != null) - dfTxt = (o as TextBox).Text; // set to use the parent's value (default) + dfTxt = (o as roRichTextBox).Text; // set to use the parent's value (default) } if (dosaveflag) mysavexml = true; @@ -1368,7 +1368,7 @@ namespace ctlXMLEditLib c.Visible = vsblState; // show or hide the lable inside the group box object oo = myHT[c.Name]; if (oo != null) - (oo as TextBox).Visible = vsblState; // show or hide the associated text box + (oo as roRichTextBox).Visible = vsblState; // show or hide the associated text box } } }