Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27034

Fore Color and ListView

$
0
0
Hi,

I want to change the first column of a listviewto Blue (ONLY the first column). AM working with Vb.NET, please look at the code below and amend where necessary for me..

Code:

lvwuserinfo.Items(lvwuserinfo.Columns(1).SubItems(0)).ForeColor = Color.Blue
The above code wont run and gives the error

- Subitems is not a emember of 'System.Windows.Forms.ColumnHeader'



Thank you

Viewing all articles
Browse latest Browse all 27034

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>