, , , ( ).
( , ):
First, I uploaded the “broken” block to the IDE. This did not cause an error until I pressed F12 to see the form. The error message raised by the IDE is not very useful, but after changing {$ R * .dfm} to {$ R MainForm.dfm} the error message has changed to something more specific. More precisely, in the error report, one line was of particular interest:
{MyControls_XE.bpl} StrGrdBase.TBaseStrGrid.FixCursor (Line 569, "StrGrdBase.pas" + 9) + $8
I went over to this row, and I saw that in some conditions I tried to focus on the second row, while the grid only had one row.
source
share