Solved

MS DataGrid Control v6 Vertical Line Removal

Posted on 2000-04-13
5
257 Views
Last Modified: 2013-12-25
Does anyone know how to remove the vertical lines between each record in a DataGrid ???

I can remove the Horizontal lines by using datagrid.RowDividerStyle = dbgNoDividers but I cannot seem to remove the vertical lines..

Please help...
0
Comment
Question by:Mad_One
  • 2
  • 2
5 Comments
 
LVL 69

Expert Comment

by:Éric Moreau
Comment Utility
Why not you use a listview instead of grid?
0
 

Author Comment

by:Mad_One
Comment Utility
Good question....

I was trying to show more than one column at a time i.e. three columns in a table, and then got side tracked into using a datagrid...

I have added them all together now as a view on the SQL server, so that has sorted that little problem.

However I would like to add pictures/icons to the front of each record in the list, simular to NT Security Manager - Any suggestions..
0
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 30 total points
Comment Utility
Don't confuse LISTBOX and LISTVIEW.

See this link: http://www.mvps.org/btmtz/listview/
0
 
LVL 14

Expert Comment

by:wsh2
Comment Utility
Mad One:
If you want greater funtionality (such as pictures.. different fonts & backcolors.. grids / nogrids) try using the FlexGrid control instead.. of a Datagrid.. <smile>.

0
 

Author Comment

by:Mad_One
Comment Utility
Thanks for pointing me in the right direction...

I now have a functional project using a listview component.. Icons as well..

Cheers.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

743 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now