OK, that means it tries to get something from current widgetset, which is nil for a console application. I guess LCLBase is the least thing you can use from LCL for a console app. You could follow Graeme's advice.
-- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-TextHeight-in-Console-App-tp4031311p4031319.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
