How to use Image1.Bitmap.BitmapChanged;


Bitmap.BitmapChanged; is protected in FMX.Graphics so I cannot use the procedure.

Useing a TImage or TImageControler I am drawing a line but the line does not show.

I am using this snippet:

imgc1.Bitmap.Canvas.DrawLine(FStartPoint,FEndPoint, 100);
imgc1.Bitmap.BitmapChanged; // the original example said that this would redraw the image. In my CE Rio IDE the BitmapChanged is undefind. How can I use it?

Draw the line. IDE cannot find BitmapChanged.

Comments are closed.