[Lazarus] Lazarus implementation of TListView etc?
Sven Barth
pascaldragon at googlemail.com
Fri Oct 23 08:01:20 CEST 2015
Am 23.10.2015 07:39 schrieb "Graeme Geldenhuys" <
mailinglists at geldenhuys.co.uk>:
> Then refactor / clean-up the code to remove such "gui" dependencies if
> you want a true console application. Windows always has a GUI - so there
> you can get away with including GUI units, widgets or clipboard in your
> "console" application. But for Unix-based systems that have true
> headless environments, you *must* create a true console application,
> otherwise the application will not run.
While I agree that Bo should refactor his code three is also the point that
including just the units does no harm as Matthias has said. Only the
"Interfaces" unit does that, cause that is the one that binds the
components to the widgetset and is only used in the main program.
This is especially true if the code related to the GUI components isn't
even used (yes, I knew such stuffed units as well -.- ).
Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20151023/4e4e4013/attachment-0003.html>
More information about the Lazarus
mailing list