Recent

Author Topic: overwriting first typed character in TStringGrid  (Read 669 times)

inferno

  • New Member
  • *
  • Posts: 34
overwriting first typed character in TStringGrid
« on: February 19, 2020, 12:23:46 am »
Hi all,
How to prevent selecting first typed character in TStringGrid when cell is selected but not in the editor mode and user start typing? This behaviour causes overwriting the first character by the second one. I'm sure it was discussed on this forum some time ago, but can't find the solution.

Platform: macOS 10.14.6 + Cocoa.

Best regards,
Inferno

inferno

  • New Member
  • *
  • Posts: 34
Re: overwriting first typed character in TStringGrid
« Reply #1 on: February 19, 2020, 10:54:07 pm »
Hi all,
After some digging finally I found the thread with this issue.

https://forum.lazarus.freepascal.org/index.php/topic,46787.msg337903.html

This is a bug in Cocoa, not yet fixed, but the workaround described there works well.

https://bugs.freepascal.org/view.php?id=36111

Best regards,
Inferno


 

TinyPortal © 2005-2018