I would like to user tcanvas but it does not work, for example I have this:
var a:tcanvas;
begin
a := tcanvas.Create;
a.TextOut(0,0,'ols');
a.destroy;
it complains canvas does not allow drawing. I haven't worked in delphi for quite some some and don't remenber how to make this work (if it works).
I need to draw to a canvas so I can make a printpreview.
Maybe you can help me.
Best regards