-
Set ForeColor To A Single Cell In ListView
Is there a way to set the ForeColor of a single cell in a Listview? I'm trying to use the following code to achieve this but, it just doesn't work. I have also tried many other combinations that give the same result...NOTHING!
ListView1.Items(ListView1.Items.Count - 1).SubItems(3).ForeColor = Color.Red
Any help would be appreciated.
Thanks!
-
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
-
Thanks Hack, that worked. I knew there had to be a way because I've done it in VB6. I was about to go nuts. I was just needing the following line.
xitem.UseItemStyleForSubItems = False
Thanks again.
Similar Threads
-
By shan_2007 in forum Database
Replies: 0
Last Post: 12-11-2007, 06:34 AM
-
Replies: 4
Last Post: 04-14-2006, 09:09 AM
-
By mdengler in forum ASP.NET
Replies: 0
Last Post: 11-26-2002, 02:32 PM
-
By Des in forum VB Classic
Replies: 5
Last Post: 05-15-2002, 03:16 PM
-
By Jack in forum Database
Replies: 1
Last Post: 11-26-2001, 09:28 AM
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks