The best way to make custom ListView lazarus / 39-Graphics ---------------------------------------------------------------------- aradeonas · 2016-01-29 11:37 Hi, I want to have a custom ListView so I could paint each item by myself and even paint ScrollBars. I prefer to not make all things from base and yes I know about Custom Drawn Controls but it seems its not ready and also its not clear for me how can I make something like this screenshot. I really like to know how can I make something like this with hope to have OS meesage system so for example it support touch screens. ---------------------------------------------------------------------- Graeme · 2016-02-03 12:30 If you are using LCL, you will have to create a custom drawn control from scratch, as LCL doesn't allow so much customisation. Alternatively, use a custom drawn toolkit (eg: fpGUI, MSEgui) for your application which allows for much more developer customisation and control, without the need to create a whole new component. ---------------------------------------------------------------------- balazsszekely · 2016-02-03 12:37 I would give TVirtualDrawTree a try. ---------------------------------------------------------------------- aradeonas · 2016-02-03 14:39 @Graeme Do they support OS scroll stuff so when I run my program in a touch device I can use them? Also I wanted to use default LCL stuff and BGRA components, can they be used with fpGUI or MSEgui  or I should port all the project to them? @GetMem do you know a way to make example shot with it or a good demo? Can I make a example component from scratch with scroll-bars an do all stuff from base and paint scroll-bars by myself? ---------------------------------------------------------------------- Graeme · 2016-02-04 00:44 Quote from: aradeonas on February 03, 2016, 03:39:35 pmDo they support OS scroll stuff so when I run my program in a touch device I can use them? Yes. QuoteAlso I wanted to use default LCL stuff and BGRA components, can they be used with fpGUI You can't mix LCL and fpGUI in the same application. I believe you can use BGRA with fpGUI as it is simply a 2D graphic library, much like fpGUI already uses AggPas for advanced 2D graphics drawing. As for porting... fpGUI already has a lot of components in the official code, and many more [unofficial] components contributed by others. Porting VCL or LCL components to fpGUI is pretty easy too - they all use a very similar concept and API style. QuoteCan I make a example component from scratch with scroll-bars an do all stuff from base and paint scroll-bars by myself? With fpGUI, yes you can. ---------------------------------------------------------------------- aradeonas · 2016-02-04 06:50 QuoteWith fpGUI, yes you can.But not with LCL? So if I want a custom list you say I need to port to fpGUI or same? Thanks. ---------------------------------------------------------------------- Graeme · 2016-02-04 10:15 Quote from: aradeonas on February 04, 2016, 07:50:14 amQuoteWith fpGUI, yes you can.So if I want a custom list you say I need to port to fpGUI or same? As I mentioned before, LCL simply doesn't give you the customisation ability that custom drawn toolkits do. You can obviously use LCL- CustomDrawn, but that widgetset is so far behind in functionality and completeness (still Alpha state code), it will take years to get where fpGUI and MSEgui are today. The choice is yours really. ---------------------------------------------------------------------- aradeonas · 2016-02-04 11:45 Thanks Graeme, Its hard to port all project to a new widgetset  but I will think about it.