Hi all
In Delphi, when a TStringGrid is configured for editing, pressing Enter edits the current cell. The whole cell content is selected and pressing the right arrow key moves the cursor to the end of the text, allowing to add some characters at the end.
In Lazarus, things are slightly different : pressing Enter edits the current cell and the whole content is selected, BUT pressing the right arrow key
moves to the next cell !!! and thus cancels the editing...
I didn't find a way to change that.
What I'd like to do is either move to the end of the selection (like in Delphi) or disable the selection of the whole cell content when pressing Enter.
Actually, if you press F2 the text is not selected and the cursor is at the beginning of the text. This could be ok but users do not usually press F2. I'm converting an old Delphi app and my users are used to pressing Enter to edit, so I wouldn't like to disturb them...
I'm using 0.9.26.2 on Windows XP.
If someone has an idea...
Many Thanks !!!
Marc.