I think the number of people having problems with the issue is increasing. In this case, I felt the need to make a notification. Because, this problem had a lot of trouble for me at the time.
Let's get to the point;
I think the main cause of such problems is a
bug in Lazarus;
Because the code that works fine in old Lazarus versions results in such an error in updated versions.
As I understand it, we can no longer directly assign numerical values to some properties. As follows;
Code that works fine in old versions but gives type mismatch error in new versions;
mytable.rows(1).height:=50;
If corrected as follows, the code that works smoothly in all versions;
mytable.rows(1).height:=integer(50);
Or
var
wx:integer=50;
...
mytable.rows(1).height:=wx;
I think developers can easily fix this problem.
