[Lazarus] Lazarus implementation of TListView etc?

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Thu Oct 22 18:32:30 CEST 2015


On 2015-10-22 15:33, Bo Berglund wrote:
> But when programming it I need to use existing classes from Delphi in
> which I will use a subset of the functionality only. No functions
> dealing with user interface will be used at all, but in the same class
> is embedded the bulk of the communications protocol and data
> interpretation and translation and these I do need.


That still doesn't explain why the original Delphi code required a
TListView instance. TListView is purely a GUI component - so I'm very
puzzled.

If you needed a list of objects, and maybe an associated text string or
something, then use TObjectList instead. I honestly don't see why
TListView is need in any Console application.

Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp




More information about the Lazarus mailing list