DBGrid: How can I...

Luke
09-19-2000, 08:11 PM
How can I drop-down a db-combo or a simple combo from a cell of a DBGrid? I saw that there's the Button option that allows to display a button in the top-right corner of the cell. I understood that when the user click the button the buttonclick event will be called, but I don't know the right necessary code. The help tells: "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 DBGrid 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."

Thanks, Luke

P.S. I'm sorry for my badly English

Valkyrie
09-20-2000, 01:08 PM
You should send a note to DustEater. He has just been through the learning curve of the DBGrid and he may be able to get you going.

Cheers.

Quote of the moment....
"My job is so top secret even I don't know what I'm doing!"

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum