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?
Different behavior D5-D2010
-
AndreyZ
Re: Different behavior D5-D2010
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.
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.