For many years I've used a routine to determine the height & width of text being sent to a printer such as :
with Printer.Canvas do
begin
prLineHeight := trunc(TextHeight('I'));
end;
with no problem and yet with a new program (which compiles) at run time I'm now getting the error cited,
Can anyone suggest why - and point to a solution?