On Sun, 28 Feb 2010 17:39:47 -0500 Charl van Jaarsveldt <[email protected]> wrote:
> For example the list of emails in Outlook when you have the side-by-side > layout. It will show you who its from and the date at the top of the line - > left-aligned and right-aligned respectively, and the subject at the bottom > of the line. I find it a nifty idea to save some horizontal space. Here is > another example in a nice personal finance program called Buddi: > http://buddi.digitalcave.ca/images/screenshots/Transactions%20%28OS%20X%29.png > > In Java Swing it is relatively easy: you create a cell renderer and tell the > list to use it to render the cells, so you create the renderer as a panel > with its own controls and layout, but Swing is much more > model-view-controller based. I was thinking the OnCustomDraw event > (something like that) can be used, but I have never used it before. Yes, I guess that would be the easiest way. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
