Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 25th, 2007, 03:48 AM
Registered User
 
Join Date: Nov 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Datagrid - format a row

Hi,

I am looking to highlight one or more rows on a datagrid in a VB6 application.

The grid is populated from an ADO data control and includes a date column. I would like the row of the datagrid to be highlighted in red font if the date of the record is earlier than the current day.

I am presuming I need to scroll through the recordset and add the record to the selected bookmarks property and then in the datagrid set the font for the selected bookmarks to be red. My problem is that I cannot determine the correct syntax to alter the display format within the Datagrid.

Any suggestions?

Jerry.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Scrollbar in row of Datagrid Except Header Row Theone84 ASP.NET 2.0 Professional 0 August 11th, 2008 12:10 AM
datagrid row merge mvenkatesan ASP.NET 1.0 and 1.1 Basics 0 May 1st, 2007 04:23 AM
Datagrid Row format Fernb2000 Pro VB.NET 2002/2003 0 August 24th, 2005 01:21 PM
Getting value of filtered datagrid row ashley_y VB How-To 1 November 23rd, 2004 10:48 AM
Manage data row by row in datagrid Dragonist Classic ASP Databases 5 July 29th, 2004 04:17 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.