Results 1 to 2 of 2

Thread: Column buttons in datagrid

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Posts
    1

    Post

    In VB6, in datagrid you can set the column property of 'buttons' to be true, which then displays an arrow in the column when user clicks in that column. My question is how do I drop down another list of values from that, from which then the user can select a value which gets populated in that field?

    Any pointers or sample code will be much appreciated.

    Thanks

  2. #2
    Junior Member
    Join Date
    Nov 1999
    Posts
    16

    Post

    I was not able to find any samples on the Web. But, according to DataGrid help, clicking that arrow fires ButtonClick event, and you have to do everything youself in that event's procedure.
    I would try to create hidden listbox control on the form, and the, in ButtonClick event procedure, move it to the selected cell and make it visible, then process it's Click event.

    Regards, Vlad

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