|
-
Jun 27th, 2008, 05:39 PM
#1
Thread Starter
Hyperactive Member
[2008] - ListView Row Coloring
2 questions,
1). How do I set a color to RBG: 220, 231, 245
Tried:
item.BackColor("220, 231, 245")
and
item.BackColor = "220, 231, 245"
and
item.BackColor = Color("220, 231, 245")
none work.
2). my current code only highlights rows that have a value, how can I do the whole listview?
vb Code:
Dim item
For Each item In trackList.Items
If (item.Index Mod 2) = 0 Then
item.BackColor = Color.Red
Else
item.BackColor = Color.Yellow
End If
Next
I am still very new to VB.NET, so I have MANY questions
-
Jun 27th, 2008, 05:41 PM
#2
Thread Starter
Hyperactive Member
Re: [2008] - ListView Row Coloring
Figured out my first question, but how about my second?
I am still very new to VB.NET, so I have MANY questions
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|