On Tuesday 19 July 2016 19:32:33 Graeme Geldenhuys wrote: > On 2016-07-19 18:05, Aradeonas wrote: > >> Are you using Virtual Treeview as a treeview or a grid? It seems > >> some components (VT, ListView etc) don't really know what they want > >> to be. ;-) > > > > Both, As VTV is the best grid-ish component I fount in Lazarus world. > > Kgrid is good but slow. > > Umm... using a TreeView component as a Grid. Somewhere the design went > horrible wrong. :-p > I don't think so. MSEgui also supports a combination of treeview and grid by placing a TTreeItemEdit in a TWidgetGrid. TWidgetGrid accepts any data edit widget as column widget (TStringEdit, TIntegerEdit, TRealEdit, TDataButton, TSlider, TDropdownListedit...) which builds a column with the according data type. In case of TTreeItemEdit the datatype is an instance pointer of TTreeListItem. Very handy.
Martin -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus-ide.org/listinfo/lazarus
