Solved

Changing color of Gridlines in VB.NET ListView

Posted on 2003-11-24
3
2,660 Views
Last Modified: 2007-12-19
How can we Change the  color of Gridlines in VB.NET ListView?
Is some way there to extend the control is possible in vb.net??

I know that it can be done in mfc. what about vb.net?

Also change of color of grid lines in VB . NET listview- is it made possible in later versions of .NET??
- I am using 1.0 Framework
0
Comment
Question by:rajaloysious
  • 2
3 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 125 total points
ID: 9810591
AFAIK there isn't a way to change the grid line color, and I am using VB.NET 2003.  It may be possible to create you own user control, and override its default behavior.  To do that you would add a new UserControl, and change the line at the top of the code module from:

Inherits System.Windows.Forms.UserControl

to

Inherits System.Windows.Forms.ListView
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 10277158
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: TheLearnedOne {http:#9810591}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TheLearnedOne
EE Cleanup Volunteer
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question