Recent

Author Topic: TDrawGrid/TStringGrid character entry  (Read 1782 times)

trev

  • Hero Member
  • *****
  • Posts: 843
  • Former Delphi 1-7 and 10.2 User
Re: TDrawGrid/TStringGrid character entry
« Reply #15 on: July 14, 2020, 03:15:42 am »
I downloaded your demo from https://forum.lazarus.freepascal.org/index.php/topic,46787.msg334041.html#msg334041

The problem seems to be worse now with Lazarus & FPC trunks (see signature).

Whichever cell I choose to edit, the first character is focussed, entering a character deletes it. So far this agrees with your issue.

But now I cannot edit any other cell. If I click on another cell, the cell outline is highlighted, but anything I enter turns up in the first cell I edited! It seems that the focus remains stuck on the first cell I edited.
o Lazarus v2.1.0 r63598, FPC v3.3.1 r45778, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (Parallels VM)
o FPC 3.0.4, FreeBSD 12-STABLE r361007 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

VTwin

  • Hero Member
  • *****
  • Posts: 916
  • Former Turbo Pascal 3 user
Re: TDrawGrid/TStringGrid character entry
« Reply #16 on: July 14, 2020, 03:32:43 am »
Thanks so much trev. This has been making me crazy.

I thought I had a work around, but now I'm jammed in another application.
« Last Edit: July 14, 2020, 03:44:47 am by VTwin »
“Talk is cheap. Show me the code.” -Linus Torvalds

macOS 10.13.6: Lazarus 2.0.8 (64 bit Cocoa, also fixes and trunk)
Ubuntu 18.04.3: Lazarus 2.0.8 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.8 (64 bit on VBox)

VTwin

  • Hero Member
  • *****
  • Posts: 916
  • Former Turbo Pascal 3 user
Re: TDrawGrid/TStringGrid character entry
« Reply #17 on: July 14, 2020, 11:19:08 pm »
The bug report I filed was closed and reopened. Dmitry is working on it.

Perhaps it would be useful for you to add a note on this new behavior? 
“Talk is cheap. Show me the code.” -Linus Torvalds

macOS 10.13.6: Lazarus 2.0.8 (64 bit Cocoa, also fixes and trunk)
Ubuntu 18.04.3: Lazarus 2.0.8 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.8 (64 bit on VBox)

trev

  • Hero Member
  • *****
  • Posts: 843
  • Former Delphi 1-7 and 10.2 User
Re: TDrawGrid/TStringGrid character entry
« Reply #18 on: July 15, 2020, 11:51:16 am »
Bug report updated.
o Lazarus v2.1.0 r63598, FPC v3.3.1 r45778, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (Parallels VM)
o FPC 3.0.4, FreeBSD 12-STABLE r361007 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

bigeno

  • Sr. Member
  • ****
  • Posts: 250
Re: TDrawGrid/TStringGrid character entry
« Reply #19 on: July 15, 2020, 03:49:23 pm »
Thats rev 63541 bug.

 

TinyPortal © 2005-2018