|
-
Nov 21st, 1999, 08:02 PM
#1
Thread Starter
Hyperactive Member
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.
-
Nov 21st, 1999, 08:24 PM
#2
Lively Member
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
-
Nov 22nd, 1999, 07:26 PM
#3
Addicted Member
Hi Manish
I can't get it to work!
Don't we have to Dim the lstbox first.
Please help.
Thanx.
-
Nov 22nd, 1999, 07:51 PM
#4
Hyperactive Member
Lyla, you have to put list control on form at design time and set property Visible=False
Larisa
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|