using Tab in DBGrid - automatic post

[ Delphi Forum ] [ Delphi Tutorials -- by DelphiLand ]

Posted by Stefaan Breugelmans on June 14, 2003:

I have a DBGrid connected to a paradox TTable, and I have noticed that when the Dataset is in Insert or Edit mode, pressing the Tab key will perform an automatic Post of the Dataset, instead of going to the next column to insert/edit the other information.
I am creating an appointment book, and the first column is the hour, second column the name and the third column what the appointment is for.
I enter the hour of the appointment and press Tab to go to the Name Column, but instead it automatically Post already the hour, without a name or reason.
I have noticed that there is a dgTab setting but when this is set to Fault, it just ignores when I press Tab.
Is there anyway around it ?

Related Articles and Replies:

[ Delphi Forum ]
[ DelphiLand: free Delphi source code, tips, tutorials ]