I have a datagrid inside in a form using also formkeypreview function and and I am getting an access violation, when moving from a cell to an other with TAB.
I can not reproduce it in a clean project for the moment but the screenshot of the error is following and it seems that the TMSFNCEDIT of the datagrid's cell is nil
Exactly the save form/unit with the TdataGrid when used in new project does not give any error.
When used inside an existing application I have , it gives the above exception: a TTMSFNCDataGridEdit runs the DoKeyUp event but it is already nil.
I have managed to create a project that reproduces the problem
Press the button to have a new form open
In the new form, press the button to add a row in the datagrid
The put the cursor in the first column/row and try to move with a TAB
Sometimes you will notice a combobox to exist..from the barbage it reads in the memory... ftestacc.zip (13.5 KB)