Hi
The new jDrawingView is simpler to use, and I can now obtain what I want !
I have however some questions and remarks :
1) Why is Canvas a parameter of the OnDraw event ?Nothing happens when we draw on this Canvas, we have to draw on the View only.
It could sometimes be useful to have the Canvas of the View, but it could be obtained by something like :
TjDrawingView(Sender).Canvas
if the property Canvas was existing.
I think there is no need for a parameter, which will give most times a "unused parameter" Hint.
2) The method JDrawingView.Invalidate exists, but it seems it does nothing. Refresh does the job.
You could call Refresh from Invalidate, because it works like this, I believe, in LCL.
Or else make Invalidate private or deprecated.
Best regards