At 2:23 AM +0100 12/13/06, Arnaud Nicolet wrote:
the listbox sends a "CellBackgroundPaint" event to every row in the listbox (not only to the rows that contain data, but also to the empty rows).
Just to be clear, this is a new feature that lets you draw a background in ANY of the VISIBLE cells in a listbox, independent of whether there is data present in any of those cells yet. This is very useful to fill the listbox with alternating colored stripes, or to draw any other background color or picture you'd like. That change did cause a small breakage of some old apps, requiring the "if row < Listbox.ListCount then" fix, but the CellBackgroundPaint event is now much more flexible, So Its A Good Thing. (tm) :-)
Regards, Joe Huber _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
