C2022-003-Change-Textboxes-to-RTF-3

This commit is contained in:
2026-01-14 13:48:47 -05:00
parent ac5e49d0fc
commit d560468f3c

View File

@@ -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
}
}
}