Thank you Terry,


Youri






Terry Ford wrote:

On Dec 14, 2006, at 4:58 AM, Youri wrote:

Is there a quick way to make a listbox alternate its background color?

 This emulates iTunes

Function CellBackgroundPaint(g As Graphics, row As Integer, column As Integer) As Boolean

  // Paint alternating background row colors.
  If row Mod 2=0 then
    g.foreColor= &cEDF3FE
    g.FillRect 0,0,g.width,g.height
  end if

End Function

Terry

_______________________________________________
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>


_______________________________________________
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>

Reply via email to