PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms ListView component

Reply

ListView component

 
Thread Tools Rate Thread
Old 08-02-2006, 03:09 PM   #1
Teemu
Guest
 
Posts: n/a
Default ListView component


I have problems with ListView-control because of its GridLines bug in
Windows XP.

I created a function that creates a bitmap which presents those grid lines.
Then I set this image to ListView's BackgroundImage. The grid line bug is
fixed now but this creates an another problem.

While having a background image, list view won't show list item's backcolor
if it's set.

For example:

Listview1.BackgroundImage=MyBitmap
Listview1.Items(2).Backcolor=Colors.Red

That red background won't be seen. Any ideas how to show that backcolor and
have background image at the same time?

Thanks for your answer,
Teemu

  Reply With Quote
Old 19-02-2006, 05:02 AM   #2
Jared
Guest
 
Posts: n/a
Default Re: ListView component

Same prob. How about using white and teal-blue as background for odd and
even to get your lined effect and then mix red with white or teal color for
2 shades of red.

Blue
White +red
Blue +red
White


"Teemu" <tsirkia@hotmail.com> wrote in message
news:dsd1id$7eh$1@phys-news4.kolumbus.fi...
>I have problems with ListView-control because of its GridLines bug in
>Windows XP.
>
> I created a function that creates a bitmap which presents those grid
> lines. Then I set this image to ListView's BackgroundImage. The grid line
> bug is fixed now but this creates an another problem.
>
> While having a background image, list view won't show list item's
> backcolor if it's set.
>
> For example:
>
> Listview1.BackgroundImage=MyBitmap
> Listview1.Items(2).Backcolor=Colors.Red
>
> That red background won't be seen. Any ideas how to show that backcolor
> and have background image at the same time?
>
> Thanks for your answer,
> Teemu
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off