Basic ListBox questions

Hi All,

Newb here.

  1. How do I change the background color of a ListBox? I want to change the default (white) to a dark gray.

  2. Please look at this link of examples of beautiful Mac UIs: . With programs like LittleSnapper, Miro, Delicious Library and their listbox-like UI components on the left side of their screens, would I use Xojo’s ListBox to mimic this look & feel? Or some other Xojo component?

Thanks!

Use the Paint event handlers to change the background cell by cell: CellBackgroundPaint, CellTextPaint.

The ListBox could probably be made to look like those. You might also consider creating your own custom control using a Canvas.

For more information about ListBox, also check out the Using the ListBox webinar: http://documentation.xojo.com/index.php/Videos

Thanks Paul!