[Lazarus] Custom panel-like TListBox list item

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Feb 25 19:28:52 CET 2010


On Tue, 23 Feb 2010 21:03:33 -0500
Charl van Jaarsveldt <charlvj at gmail.com> wrote:

> Hi All,
> It's been a while, so forgive me if I am ignorant. :-)
> I want to have a listbox where the items are not just plain lines of text,
> but instead panels with two or three controls on. Is there something out
> there that can do this? Do I have to create my own custom control, or can I
> somehow create a frame for the panel and draw the frame in the list. That
> would be nice.

Why not use a TPanel and put some panels with Align=alTop into
it?

Mattias




More information about the Lazarus mailing list