[Lazarus] emulating DBCtrlGrid ?

Koenraad Lelong lazarus1 at de-brouwerij.be
Mon Dec 17 14:44:03 CET 2012


Hi,

I have master & detail tables in a database. The details are just a 
number of multiline texts. The master-table is shown in a dbGrid and I 
need to show the details also, in a separate list. How would I show 
these texts ?
Since Lazarus has no DBCtrlGrid like the Delphi I still use I was 
thinking of emulating that grid with a scrollbox and creating memo's in 
it when the master-table scrolls. Is this a good idea ? Are there better 
ways to do this ?

The database is not too big, a few hundred master-rows, each with a few 
details.

Thanks for your advice,

Koenraad Lelong.




More information about the Lazarus mailing list