Missing TPicture Unit
Posted: Wed Jul 26, 2017 12:27 pm
Hello,
using last TeeChart Pro FMX/VCL with Delphi Berlin 10.1 happen following:
I create a new Firemonkey project.
I create a TImagePointSeries.
Then I add a OnGetImage event to the TImagePointSeries
I receive a error: "undeclared identified TPicture". Cannot find wich unit contains TPicture to add.
In FMX.Graphics there is no Picture class, for example,..
I "solved" that by adding this
Then it work's and I can load images on runtime but probably I am missing to add the correct unit ?
Thanks for help
Peter
using last TeeChart Pro FMX/VCL with Delphi Berlin 10.1 happen following:
I create a new Firemonkey project.
I create a TImagePointSeries.
Then I add a OnGetImage event to the TImagePointSeries
Code: Select all
... GetImage(Sender: TCustomImagePointSeries; ValueIndex: Integer; Picture: TPicture);
In FMX.Graphics there is no Picture class, for example,..
I "solved" that by adding this
Code: Select all
type TPicture = class(TBitmap) end;
Thanks for help
Peter