Different behavior D5-D2010

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
dongna
Posts: 6
Joined: Tue 26 Aug 2008 20:16

Different behavior D5-D2010

Post by dongna » Wed 02 May 2012 20:44

I've been using the MySQL access component in a Delphi 5 application for several years. I finally got around to migrating this project to Delphi 2010. Everything works fine, except for one thing that is behaving differently. In Delphi 5, I was able to navigate around a DBGrid by using the arrow keys-- moving from field (column) to field and record to record. In Delphi 2010, the right-arrow and up/down-arrow keys behave as before, however if I an in a field that contains data and I press the left-arrow key, instead of moving to the column to the left, the cursor begins editing the field, spacing from right to left through the field data. I have spent most of the day trying to check all the property settings to see if there is something that did not get set the same when converting the project from D5 to D2010, and can find nothing.

Is there any way to restore the behavior to the way is was when using Delphi 5?

AndreyZ

Re: Different behavior D5-D2010

Post by AndreyZ » Thu 03 May 2012 08:27

Hello,

I have checked this question and there were no problems with navigating through TDBGrid using all keys (left, right, up, and down). Please check that you don't have some code that forces editing on using the left key.

Post Reply