Beta 3.0.0.0 Enigmatic compilation error

I have not intentionally invoked any editing, but the compiler is issuing the following error message at code end.

[Error] …: Incompatible types: got "TDataGridCellEditor" expected "TGridCellEditor"

What does this mean?

Try to move in the uses list of this unit WebLib.DataGrid after WebLib.Grids

Thanks! That was already the uses order, but I noticed that I had not removed WebLib.DataGrid after switching the used components to the DB one. Removing it made the compiler error go away.

EDIT: Actually, I was mistaken. WebLib.DataGrid was reinserted at the end of usesand the error returned. But making the following order in uses seems to have removed the error:

WEBLib.DataGrid, WEBLib.DB.DataGrid, WEBLib.Grids, DB, Vcl.Grids,

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.