@magic-xpa/gui 4.1200.0-dev4120.99 → 4.1200.0-ec.131.0

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.
@@ -1647,6 +1647,13 @@ class GuiMgControl extends ControlBase {
1647
1647
  return this._type === MgControlType.CTRL_TYPE_LIST;
1648
1648
  }
1649
1649
  /// <summary>
1650
+ /// Returns true is multi selection list box else false.
1651
+ /// </summary>
1652
+ /// <returns></returns>
1653
+ IsMultipleSelectionListBox() {
1654
+ return this.isListBox();
1655
+ }
1656
+ /// <summary>
1650
1657
  /// returns true if this control is a isButton control
1651
1658
  /// </summary>
1652
1659
  isButton() {
@@ -2282,7 +2289,7 @@ class Commands {
2282
2289
  guiCommand.value = value;
2283
2290
  guiCommand.line = line;
2284
2291
  if (commandType === CommandType.SET_VALUE) {
2285
- if (obj instanceof GuiMgControl && obj.isChoiceControl()) {
2292
+ if (obj instanceof GuiMgControl && obj.isChoiceControl() && !obj.IsMultipleSelectionListBox()) {
2286
2293
  if (value < 0)
2287
2294
  //TODO: Handling done for bug # 32083 for combobox only. To be done for all types of choice controls
2288
2295
  if (obj.isComboBox())
@@ -16132,13 +16139,6 @@ class MgControlBase extends GuiControlPropertyAdapter {
16132
16139
  return selectedIndice;
16133
16140
  }
16134
16141
  /// <summary>
16135
- /// Returns true is multi selection list box else false.
16136
- /// </summary>
16137
- /// <returns></returns>
16138
- IsMultipleSelectionListBox() {
16139
- return super.isListBox();
16140
- }
16141
- /// <summary>
16142
16142
  /// Returns true if control picture is date or time
16143
16143
  /// </summary>
16144
16144
  /// <returns></returns>