@magic-xpa/gui 4.900.0-dev490.73 → 4.900.0-dev490.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1595,7 +1595,7 @@ class Manager {
|
|
|
1595
1595
|
return Commands.getValue(ctrl, ctrl.getDisplayLine(true));
|
|
1596
1596
|
}
|
|
1597
1597
|
static async SetReadOnlyControl(ctrl, isReadOnly) {
|
|
1598
|
-
if (ctrl.isTextControl() || ctrl.IsRepeatable) {
|
|
1598
|
+
if (ctrl.isTextControl() || ctrl.IsRepeatable || ctrl.isComboBox() || ctrl.isListBox() || ctrl.isCheckBox()) {
|
|
1599
1599
|
if (UtilStrByteMode.isLocaleDefLangDBCS()) {
|
|
1600
1600
|
if (await ctrl.getForm().getTask().checkProp(PropInterface.PROP_TYPE_ALLOW_LOCATE_IN_QUERY, false))
|
|
1601
1601
|
return;
|
|
@@ -15423,9 +15423,16 @@ class Helps {
|
|
|
15423
15423
|
initInnerObjects(foundTagName, parser) {
|
|
15424
15424
|
if (foundTagName === null)
|
|
15425
15425
|
return false;
|
|
15426
|
-
if (foundTagName === XMLConstants.MG_TAG_HELPTABLE)
|
|
15426
|
+
if (foundTagName === XMLConstants.MG_TAG_HELPTABLE) {
|
|
15427
|
+
let currrentIndex = parser.getCurrIndex();
|
|
15428
|
+
let encoded = parser.ReadContentOfCurrentElement().trim();
|
|
15429
|
+
let decoded = Base64.decode(encoded.substr(0, encoded.length).trim());
|
|
15430
|
+
let newXmlData = parser.getXMLdata().replace(encoded.trim(), decoded);
|
|
15431
|
+
parser.setXMLdata(newXmlData);
|
|
15432
|
+
parser.setCurrIndex(currrentIndex);
|
|
15427
15433
|
parser.setCurrIndex(parser.getXMLdata().indexOf(XMLConstants.TAG_CLOSE, parser.getCurrIndex()) +
|
|
15428
15434
|
1);
|
|
15435
|
+
}
|
|
15429
15436
|
else if (foundTagName === XMLConstants.MG_TAG_HELPITEM) {
|
|
15430
15437
|
let endContext = parser.getXMLdata().indexOf(XMLConstants.TAG_TERM, parser.getCurrIndex());
|
|
15431
15438
|
if (endContext !== -1 && endContext < parser.getXMLdata().length) {
|