Set "Listbox.itemindex := value" does not work, when Listbox has style multiselect (linux and macos)

Issue #200 new
Harry Stahl created an issue

This works on windows, on linux and mac itemindex is always zero:

procedure TForm9.Button1Click(Sender: TObject);
begin
ListBox1.Selected[3] := True;
ListBox1.ItemIndex := 3;

label1.Caption := ListBox1.ItemIndex.ToString;
end;

See attached project

Comments (1)

  1. Log in to comment