Recent

Author Topic: TDrawGrid character entry  (Read 350 times)

VTwin

  • Hero Member
  • *****
  • Posts: 775
  • Former Turbo Pascal 3 user
TDrawGrid character entry
« on: September 18, 2019, 03:50:24 am »
When entering data into a TDrawGrid cell, the first keystroke enters the character, but also selects it. The second keystroke therefore deletes the first character.

This did not happen in Carbon.

I will try to write a simple example showing this behavior, but would like to know if others have observed this.
« Last Edit: September 18, 2019, 04:36:54 pm by VTwin »
“Talk is cheap. Show me the code.” -Linus Torvalds

macOS 10.13.6: Lazarus 2.0 fixes svn 61930 (64 bit Cocoa)
Ubuntu 18.04.3: Lazarus 2.0.4 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.4 (64 bit on VBox)
fpc 3.0.4

VTwin

  • Hero Member
  • *****
  • Posts: 775
  • Former Turbo Pascal 3 user
Re: TDrawGrid character entry
« Reply #1 on: September 18, 2019, 04:04:11 pm »
It happens in a stringgrid as well. Try to enter data in cells.

“Talk is cheap. Show me the code.” -Linus Torvalds

macOS 10.13.6: Lazarus 2.0 fixes svn 61930 (64 bit Cocoa)
Ubuntu 18.04.3: Lazarus 2.0.4 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.4 (64 bit on VBox)
fpc 3.0.4

VTwin

  • Hero Member
  • *****
  • Posts: 775
  • Former Turbo Pascal 3 user
Re: TDrawGrid character entry
« Reply #2 on: September 20, 2019, 03:25:04 am »
I have no option but to release software with this bug. If anyone can provide a patch I would be very grateful.
« Last Edit: September 20, 2019, 03:39:32 pm by VTwin »
“Talk is cheap. Show me the code.” -Linus Torvalds

macOS 10.13.6: Lazarus 2.0 fixes svn 61930 (64 bit Cocoa)
Ubuntu 18.04.3: Lazarus 2.0.4 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.4 (64 bit on VBox)
fpc 3.0.4

VTwin

  • Hero Member
  • *****
  • Posts: 775
  • Former Turbo Pascal 3 user
Re: TDrawGrid character entry
« Reply #3 on: September 27, 2019, 03:49:04 pm »
Can anyone verify this bug?

I can file a bug report, but would appreciate confirmation first.
“Talk is cheap. Show me the code.” -Linus Torvalds

macOS 10.13.6: Lazarus 2.0 fixes svn 61930 (64 bit Cocoa)
Ubuntu 18.04.3: Lazarus 2.0.4 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.4 (64 bit on VBox)
fpc 3.0.4

VTwin

  • Hero Member
  • *****
  • Posts: 775
  • Former Turbo Pascal 3 user
Re: TDrawGrid character entry
« Reply #4 on: September 28, 2019, 04:12:23 pm »
Reported.
“Talk is cheap. Show me the code.” -Linus Torvalds

macOS 10.13.6: Lazarus 2.0 fixes svn 61930 (64 bit Cocoa)
Ubuntu 18.04.3: Lazarus 2.0.4 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.4 (64 bit on VBox)
fpc 3.0.4