@magic-xpa/gui 4.900.0-dev490.92 → 4.900.0-dev490.97

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.
@@ -15597,16 +15597,17 @@ class GuiTaskBase {
15597
15597
  constructor() {
15598
15598
  this._flowMonitor = null;
15599
15599
  this._keyboardMappingState = 0xFFFF0000;
15600
- this._refreshType = 'T';
15600
+ this._refreshType = "T";
15601
15601
  this._lastParkedCtrl = null;
15602
15602
  this._brkLevel = null;
15603
15603
  this._brkLevelIndex = -1;
15604
15604
  this._mainLevel = null;
15605
- this._level = '\0';
15605
+ this._level = "\0";
15606
15606
  this._enteredRecLevel = false;
15607
15607
  this._currParkedFld = null;
15608
15608
  this.isInRecompute = false;
15609
15609
  this.CurrentEditingControl = null;
15610
+ this.shouldResumeSubformLayout = true;
15610
15611
  this.ApplicationGuid = null;
15611
15612
  this.ProgramIsn = 0;
15612
15613
  this.TaskIsn = 0;
@@ -15754,7 +15755,7 @@ class GuiTaskBase {
15754
15755
  return this._helpTab.getHelp(idx);
15755
15756
  }
15756
15757
  setProp(propId, val) {
15757
- this._propTab.setProp(propId, val, this, 'T');
15758
+ this._propTab.setProp(propId, val, this, "T");
15758
15759
  }
15759
15760
  setBrkLevel(cBrkLevel, NewBrkLevelIndex) {
15760
15761
  this._brkLevel = cBrkLevel;
@@ -15860,6 +15861,15 @@ class GuiTaskBase {
15860
15861
  this.Form.InInitForm = false;
15861
15862
  }
15862
15863
  }
15864
+ ResumeSubformLayout() {
15865
+ if (this.Form !== null) {
15866
+ let subFormCtrl = this.Form.getSubFormCtrl();
15867
+ if (subFormCtrl !== null && this.shouldResumeSubformLayout) {
15868
+ Commands.addOperationWithLine(CommandType.SET_PROPERTY, subFormCtrl, 0, HtmlProperties.Visible, subFormCtrl.isVisible());
15869
+ this.shouldResumeSubformLayout = false;
15870
+ }
15871
+ }
15872
+ }
15863
15873
  GetLastParkedCtrlName(depth) {
15864
15874
  let ancestor = this.GetTaskAncestor(depth);
15865
15875
  if (ancestor === null || ancestor._lastParkedCtrl === null)
@@ -15920,7 +15930,7 @@ class GuiTaskBase {
15920
15930
  return this.GetExpressionStorage(expId);
15921
15931
  }
15922
15932
  async CalculateExpression(expId, resType, length) {
15923
- return Promise.resolve('');
15933
+ return Promise.resolve("");
15924
15934
  }
15925
15935
  isStarted() {
15926
15936
  return true;