Results 1 to 2 of 2

Thread: Data Grid's ButtonClick Event..How Can I drop down a list?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Location
    Dallas,TX
    Posts
    170

    Post

    I've got a DBGrid that I have set a certain Column's Button Property to True. At runtime, when the button is clicked, I would like a drop-down list to be displayed, or something similar to give the user two choices.

    For example, I have a column labeled "Processed". When I click on the cell, the cell's button appears and if the user clicks on that button, a list should drop down with two choices, "True" and "False".

    I cannot find any information on this, but saw in the MSDN the following:

    "Typically, you enable the column button when you want to drop down a Visual Basic control (such as the built-in combo box, a bound list box, or even another DataGrid control) for editing or data entry. When the button in the current cell is clicked, the ButtonClick event will be fired. You can then write code to drop down the desired control from the cell."

    How can I create a "built-in" combo box?

    Thank You!!


  2. #2
    New Member
    Join Date
    Mar 2000
    Posts
    2

    Post

    Hi..

    I just found this article and am trying to use it myself. Maybe it´ll help..

    http://support.microsoft.com/support/kb/articles/Q235/9/44.ASP


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