Is it possible to change the background color of one row in a ListView 
Author Message
 Is it possible to change the background color of one row in a ListView

Does anyone know if it's possible to change the background color of one
row in a ListView?

Any help and information is very appreciated
Stefan



Sat, 05 Jun 2004 18:02:35 GMT  
 Is it possible to change the background color of one row in a ListView

released on Tue, 18 Dec 2001 11:02:35 +0100 bearing the
following fruit:

Quote:
>Does anyone know if it's possible to change the background color of one
>row in a ListView?

It is possible but IIRC it involves subclassing. It's much
easier to use a grid control (MSFlexgrid for example).

You can get the same look and feel as the Listview but with
much more functionality such as background colour.

J



Sat, 05 Jun 2004 18:38:30 GMT  
 Is it possible to change the background color of one row in a ListView

Quote:

> >Does anyone know if it's possible to change the background color of one
> >row in a ListView?
> It is possible but IIRC it involves subclassing. It's much
> easier to use a grid control (MSFlexgrid for example).
> You can get the same look and feel as the Listview but with
> much more functionality such as background colour.

Good answer for this application, but now I'm wondering what
subclassing involves and what the benefits / disadvantages are (e.g.
in what scenarios would you subclass a control). I've never done any
sort of subclassing before. Is there a good web site with some example
code? Thanks...


Sat, 05 Jun 2004 23:46:18 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. ListView Control ... changing background color of individual rows

2. Is it possible to Change background color of individual Listview lines

3. Listview - Background color on 1 row

4. change row background color, VB4, using DBGrid

5. change background color for selected row in datagrid?

6. change row background color, VB4, using DBGrid

7. Changing background color of a row in a DBGrid

8. change row background color, VB4, using DBGrid

9. change row background color, VB4, using DBGrid

10. change row background color, VB4, using DBGrid

11. change row background color, VB4, using DBGrid

12. Changing the background of one row in a Grid

 

 
Powered by phpBB® Forum Software