Results 1 to 2 of 2

Thread: dbgrid

  1. #1
    Guest

    Post

    How do you cchange the colour of the back ground, ie the grey colour visiable when there are say only 2 rows.

    Tony

  2. #2
    Hyperactive Member
    Join Date
    Jun 1999
    Posts
    308

    Post

    Hi,Tony.If Data1.Recordset.RecordCount = 2 Then
    DBGrid1.BackColor = &H80000004 'grey color
    Else
    Exit Sub
    End If

    Larisa


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width