[Lazarus] Target Survey

Martin Schreiber mse00000 at gmail.com
Thu Jul 21 12:25:57 CEST 2016


On Tuesday 19 July 2016 21:20:34 Martin Schreiber wrote:
> 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.
>
For illustration see screenshot here:
http://mseide-msegui.sourceforge.net/pics/twidgetgrid.png

'Run' is a TDataButton, 'Enabled/Caption' a TTreeItemEdit, 'Filepath' a 
TFilenameEdit which shows a filedialog by clicking the 
ellipse-button, 'Comment' a TDialogStringEdit which shows a multiline edit 
dialog by clicking its ellipse-button and 'ED' a TDataButton in a right 
aligned column.

Martin




More information about the Lazarus mailing list