I added this code in the CellTextPaint event to make negative numbers
red and positive ones black, but it changes only when I click the
listbox... What's wrong??


  If val(me.cell(me.listIndex,4))<0 then
    g.foreColor = RGB(196, 0, 0)
  else
    g.foreColor=RGB(0 ,0, 0)
  end



Thanks in advance.


--
Francisco Pires - Real Basic 2005 r4
_______________________________________________
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