Warning: TConstantLine can
Original Reporter info from Mantis: gralex
-
Reporter name: Alexander Grishchenko
Original Reporter info from Mantis: gralex
- Reporter name: Alexander Grishchenko
Description:
Cannot create instance of TConstantLine at runtime; compiler generates message:
Warning: Constructing a class "TConstantLine" with abstract method "IsEmpty".
Nevertheless it can be added to chart at design time using TChart designer.
FPC - 2.6.4
Lazarus - 1.2.4
Rev.SVN 45510
Steps to reproduce:
Simply try to create an instance:
procedure TForm1.Test(Sender: TObject);
var const_line: TConstantLine;
begin
const_line:= TConstantLine.Create(my_chart); // <--- compiler warning
end;
Mantis conversion info:
- Mantis ID: 27123
- Version: 1.2.4
- Monitored by: » gralex (Alexander Grishchenko)
- Target version: 1.2.8