Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

VB6 DataGrid RowColor

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

Question by:tsuther

Expert Comment

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

Author Comment

ID: 9773496
LVL 28

Expert Comment

ID: 9774566
I don't think you can with the DataGrid.Have you tried the MSFLEXGRID?

Accepted Solution

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 
LVL 49

Expert Comment

ID: 10548758
Moderator, my recommended disposition is:

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

Dan Rollins -- EE database cleanup volunteer

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

792 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