Solved

VB6 DataGrid RowColor

Posted on 2003-11-18
7
947 Views
Last Modified: 2012-08-13
Is there a way to alternate row colors in a VB6 datagrid.

Thanks!!!
0
Comment
Question by:tsuther
7 Comments
 
LVL 9

Expert Comment

by:TooKoolKris
ID: 9773469
I assume that you have done a good check on the properties of the datagrid control?
0
 

Author Comment

by:tsuther
ID: 9773496
yes
0
 
LVL 28

Expert Comment

by:vinnyd79
ID: 9774566
I don't think you can with the DataGrid.Have you tried the MSFLEXGRID?
0
 
LVL 4

Accepted Solution

by:
TomLaw1999 earned 250 total points
ID: 9780015
No. It cannot be done!

You can use the standard flexgrid control that ships with VB but this does not have the ability to enter data directly into cells, nor does it happily handle data-binding with ADO recordsets.

A better idea might be to buy a control which does it all such as the TrueDBGrid or VSFlexgrid from http://www.componentone.com
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 10548758
Moderator, my recommended disposition is:

    Accept TomLaw1999's comment(s) as an answer.

Dan Rollins -- EE database cleanup volunteer
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

708 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

20 Experts available now in Live!

Get 1:1 Help Now