- attached multiselect.jpg
Set "Listbox.itemindex := value" does not work, when Listbox has style multiselect (linux and macos)
Issue #200
resolved
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 (3)
-
reporter -
Is this a restriction of the system? If so, one could close this issue and take it to a list “restrictions of the used OS” or so. If not, it would be fine to fix this.
-
repo owner - changed status to resolved
Fixed at 1.55
- Log in to comment