I am using Datagrid and ADO 6.0, to maintain a database table (change, delete and add data) , some of the fields are dates, in those fields(cells) I am using dblclick in order to get the date from the calendar control, this part works well.
My problem is: after get the date, the cell can not be changed using the keyboard, if I type something in the cell it gets empty and doesn’t accept data or ESC. The only way to fix it (exit the cell or hit a command button) is clicking twice in the same cell or in another cell or in a command button.
What to do to avoid this situation ?
Thanks for your help.
Amador.
My problem is: after get the date, the cell can not be changed using the keyboard, if I type something in the cell it gets empty and doesn’t accept data or ESC. The only way to fix it (exit the cell or hit a command button) is clicking twice in the same cell or in another cell or in a command button.
What to do to avoid this situation ?
Thanks for your help.
Amador.