Recent

Author Topic: TListView - OnColumnClick does not fire  (Read 2584 times)

MISV

  • Hero Member
  • *****
  • Posts: 704
TListView - OnColumnClick does not fire
« on: August 19, 2018, 11:24:51 pm »
I seem to encounter a problem where TListView.OnColumnClick even does not fire even though the ColumnClick property is checked. Can anyone else confirm? And I will report it... (I am adding columns runtime if that matters)

VTwin

  • Hero Member
  • *****
  • Posts: 938
  • Former Turbo Pascal 3 user
Re: TListView - OnColumnClick does not fire
« Reply #1 on: August 20, 2018, 02:20:41 am »
I checked with current trunk. Please double check my attached example (I don't use ListView), but it looks like a bug to me.

By the way, scrollbars seem not to respond to clicks above and below the pad. I was looking for an existing bug report on that.

Cheers,
VTwin
« Last Edit: August 20, 2018, 02:23:09 am by VTwin »
“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.0
macOS 10.13.6: Lazarus 2.0.10 (64 bit Cocoa)
Ubuntu 18.04.3: Lazarus 2.0.10 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.10 (64 bit on VBox)

MISV

  • Hero Member
  • *****
  • Posts: 704
Re: TListView - OnColumnClick does not fire
« Reply #2 on: August 20, 2018, 01:03:41 pm »
I have reported here
https://bugs.freepascal.org/view.php?id=34157
I did not post your example as attachment (but feel free)

Now the issue is logged at least. If you do not post your attachment, I will try create demo later and attach.

VTwin

  • Hero Member
  • *****
  • Posts: 938
  • Former Turbo Pascal 3 user
Re: TListView - OnColumnClick does not fire
« Reply #3 on: August 20, 2018, 11:40:41 pm »
I uploaded my demo.
“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.0
macOS 10.13.6: Lazarus 2.0.10 (64 bit Cocoa)
Ubuntu 18.04.3: Lazarus 2.0.10 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.10 (64 bit on VBox)

 

TinyPortal © 2005-2018