TTMSFNCListBox not change selected text after dblc

OS: Debian 10 (buster) LXDE
fpc 3.3.1
lazaraus 2.1

TMS FNC UI Pack release 3.0.1.4

LCL component

component TTMSFNCListBox (unit LCLTMSFNCListBox)
not change selected text after dblclick

youtube: https://youtu.be/5E9wwf9j7kM

onClick count:

1 selected Mercedes
2 selected Audi
3 selected BMW
4 selected Land Rover

5 dblclick selected Land Rover

6 selected Land Rover (mouse to Mercedes)

7 selected Mercedes

Which event have you used? The OnClick even or the OnItemClick? Please use the OnItemClick event

when i don't use counting, after double clicking I have to double click to mark me second in the list

 6 click mouse to Mercedes blue 

Land Rover

 7 click mouse to Mercedes blue  Mercedes

look visually, double click to highlight the second row

the counter is working properly
the display is working properly

after a double click, the next click, nothing happens,
after a double click, one click is empty,
does not highlight that other text I click

https://youtu.be/5E9wwf9j7kM

Again, answer the question please. Did you or did you not use the OnItemClick / OnItemDblClick event?


procedure TForm1.FormCreate(Sender: TObject);
begin
   Klik:= 0;  DblKlik:= 0;
end;

procedure TForm1.TMSFNCListBox1Click(Sender: TObject);
begin
  Klik := Klik +1;
  Label1.Caption := 'OnClick count: '+ IntToStr(Klik)+ '  OnDblClick count: ' +IntToStr(DblKlik);
end;

procedure TForm1.TMSFNCListBox1DblClick(Sender: TObject);
begin
   DblKlik := DblKlik +1;
   Label1.Caption := 'OnClick count: '+ IntToStr(Klik)+ '  OnDblClick count: ' +IntToStr(DblKlik);
end;

procedure TForm1.TMSFNCListBox1ItemClick(Sender: TObject;   AItem: TTMSFNCListBoxItem);
begin
  Label2.Caption :=  AItem.Text;
end;
      

Please use OnItemClick and OnItemDblClick instead

I used this to show that it was clicked

the problem lies in the component itself, no event required.

When the Land Rover is all blue
I click on Mercedes

Again, the Land Rover is all blue

when i click on Mercedes

Only now is Mercedes blue



Hi,


We have checked this here and applied a fix for the dblclick issue. Next version will address this.


Thank you.


The same problem is with the theme:

TTMSFNCKanbanBoard change focus

today i installed the latest version and the same problem is still present

TMSFNCUIPack v3200 - 22.09.2020

hi,

we have further investigated and retested this here and applied an additional fix. The next version will address this.

thank you