Results 1 to 2 of 2

Thread: button in dbgrid

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2002
    Location
    india
    Posts
    1

    button in dbgrid

    in vb6
    how & what would be the code for attaching the button in the dbgrid

    my problem is that i want to have a dbcombo/db list like activity in the dbgrid

    pl provide me the code and on what event it would be ?

  2. #2
    Addicted Member
    Join Date
    Nov 2001
    Posts
    163
    Put the dbgrid into form and click properties of grid goto layout tab select the column in which U want to put the button and check the button property press ok.
    now goto source window u can get

    Private Sub DataGrid1_ButtonClick(ByVal ColIndex As Integer)

    End Sub
    Purushottam

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