PDA

Click to See Complete Forum and Search --> : Column buttons in datagrid


nirnayak
Jan 5th, 2000, 10:34 PM
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

vladimir
Jan 6th, 2000, 01:31 AM
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