Error: DBGrid1.Columns identifier idents no member "FieldName"
Original Reporter info from Mantis: taka_jp
-
Reporter name: removed
Original Reporter info from Mantis: taka_jp
- Reporter name: removed
Description:
procedure TForm1.Button1Click(Sender: TObject);
begin
DBGrid1.Columns.Add.FieldName := 'TestOK';
TDBGridColumns(DBGrid1.Columns).Add.FieldName := 'Name1';
end;
--------------------------------------
this code is ok on Delphi.
but lazarus cause error.
unit1.pas(34,23) Error: identifier idents no member "FieldName"
unit1.pas(43) Fatal: There were 1 errors compiling module, stopping
Mantis conversion info:
- Mantis ID: 15388
- Version: 0.9.29 (SVN)
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 23496 (#cbd597f5)
- Target version: 0.9.30