I don't believe that you can do that in the datagrid.
However you can do it with the MSFlexgrid. You will set the cellforecolor property. To set a full row you will need to loop through the columns and set each cell's cellforecolor property appropriatly. Thanks and Good Luck!
Thanks for that advice. Is there a down side to using the MSFlexGrid for a very basic application which stores, retrieves and updates a log file in an access db?
The main downside to the MSFlexGrid is that it is noneditable. However there is a workaround that makes the grid look and act like an editable grid. It requires the coding for a floating text box. Search this site for the MSFlexGrid and you will see some examples of how this can be done.
If you are not suscessful, let me know and I can email you a test project that shows how I make the MSFlexGrid "editable". Thanks and Good Luck!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.