Issue with multi-select TWebListBox and BeginUpdate/EndUpdate

We are using V2.6 beta of Web Core. If I have a TWebListBox with 3 items and MultiSelect = True and if I want to execute the following code:

  WebListBox1.BeginUpdate;
  WebListBox1.Selected[0] := not WebListBox1.Selected[0];
  WebListBox1.Selected[1] := not WebListBox1.Selected[1];
  WebListBox1.Selected[2] := not WebListBox1.Selected[2];
  WebListBox1.EndUpdate;

nothing happens. If I remove the BeginUpdate and EndUpdate calls everything works as expected.

Thanks for reporting. We fixed this issue.

1 Like