Recent

Author Topic: Strange Editing Behavior In TDbGrid  (Read 1181 times)

emhartner

  • Jr. Member
  • **
  • Posts: 54
Strange Editing Behavior In TDbGrid
« on: November 24, 2019, 04:03:44 am »
FPC v3.3.1 r43569
Lazarus v2.1.0 r62290
Widgetset Cocoa
Target CPU Family x86_64

When editing in a TDBGrid, the first character you type is hi-lighted and will be overwritten when you type your second character.  When tabbing to the next field, the same thing happens.  Doesn’t happen if quick editing is off (-[dgAlwaysShowEditor]).  Any help would be greatly appreciated.

You can run this program to reproduce the issue:
https://www.dropbox.com/s/bowvdt73ivv2y1r/Archive.zip?dl=0

Thank you,
Eric

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Strange Editing Behavior In TDbGrid
« Reply #1 on: November 25, 2019, 03:31:35 pm »

VTwin

  • Hero Member
  • *****
  • Posts: 1215
  • Former Turbo Pascal 3 user
Re: Strange Editing Behavior In TDbGrid
« Reply #2 on: November 25, 2019, 11:48:05 pm »
“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.2
macOS 12.1: Lazarus 2.2.6 (64 bit Cocoa M1)
Ubuntu 18.04.3: Lazarus 2.2.6 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.2.6 (64 bit on VBox)

 

TinyPortal © 2005-2018