using button/drop down combobox in Datagrid

isityou
01-08-2004, 12:17 AM
hello...i m tryin to make one of the columns in the datagrid to show a drop down combo box when it is clicked but i dunno the code... i have set the Button property in Datagrid to TRUE..and the ddatagrid does show the arrow button..but i duno how to write the source code to add items to it like i used to do with common combo box...
my source code reads..
datagrid1.columns(7).button = true
then how do i continue to add the items to it like in common combobox?
combo1.additem "Hello"
combo1.additem "Hi"

pls help..thanks alot

Dennis DVR
01-08-2004, 12:19 AM
hello...i m tryin to make one of the columns in the datagrid to show a drop down combo box when it is clicked but i dunno the code... i have set the Button property in Datagrid to TRUE..and the ddatagrid does show the arrow button..but i duno how to write the source code to add items to it like i used to do with common combo box...
my source code reads..
datagrid1.columns(7).button = true
then how do i continue to add the items to it like in common combobox?
combo1.additem "Hello"
combo1.additem "Hi"

pls help..thanks alot

you should put your code under the ButtonClick event of Datagrid Control

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum