- changed status to resolved
Canvas of TForm not working on Linux
Issue #218
resolved
I have a simple code on ButtonClick event
form1.Canvas.Brush.Color:=clBlack;
form1.Canvas.FillRect(Rect(0,0,100,100));
But This Code do nothing;
When I try paste this code in OnPaint event, all works good;
I have trial CrossVCL and Linux MInt 19.3 Chinamon desktop.
Comments (1)
-
repo owner - Log in to comment
On mac & linux drawing to Form or Control canvas outside paint event impossible because of system limitation.