-
I'm trying to get a cell in the Datagrid to produce a drop down menu, but having no luck. I've set the cell to have Button Enabled, but how do I get the thing to produce a list directly under the cell??
------------------
Thanks in advance for any help provided.
-
here is the code
place this code in buttonclick event of the grid,....
Dim bCol As Column
Set bcol = datagrid.Columns(ColIndex)
lstbox.Width = bcol.Width
lstbox.Left = datagrid.Left + bcol.Left
lstbox.Top = datagrid.Top + datagrid.RowTop(datagrid.row) + datagrid.RowHeight
lstbox.Visible = True
lstbox.SetFocus
-
Hi Manish
I can't get it to work!
Don't we have to Dim the lstbox first.
Please help.
Thanx.
-
Lyla, you have to put list control on form at design time and set property Visible=False
Larisa