May 01, 2024, 06:24:51 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Coloring Listview

Started by billhsln, February 12, 2021, 05:39:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

billhsln

I have used this same code in other programs, but it isn't working in this one.  What I trying to do is have light blue and then gray (every other line) and high light the numbers.  To where if the number is over 300 it should be 'tomato', if over 400 it should be 'red'.  However none of this works.  I am hoping some one can see what I am doing wrong and get it to work.

Coloring code is in subroutine: ColorListView

Line 132 has the main listview definition.  Lines 137 thru 139 have the extended definitions.  Lines 374 + 375 is the code to call the subroutine.

I think it might have something to do with this being a DIALOG instead of a window.

Thanks,
Bill
When all else fails, get a bigger hammer.