Home All Groups Group Topic Archive Search About

Combo box tpye control in MSHflexgrid cell

Author
14 May 2005 10:31 PM
Seasider
Has anyone any idea how I can get a combo box type control into a cell the
user clicks on and select a pre-loaded value to place in the cell.

I've searched the web and vb help and can't find anything.

Many thanks.

Author
15 May 2005 11:45 AM
Harold Druss
"Seasider" <j.knigh***@ntlworld.com> wrote in message
news:X_uhe.4014$Pi3.3581@newsfe4-win.ntli.net...
> Has anyone any idea how I can get a combo box type control into a cell the
> user clicks on and select a pre-loaded value to place in the cell.
>
> I've searched the web and vb help and can't find anything.
>
> Many thanks.
>
>

This should get you started.

*********************************************************
Private Sub fg_Click()
Combo1.Move fg.Left + fg.CellLeft, fg.Top + fg.CellTop, fg.CellWidth
End Sub
************************************************************
Private Sub fg_LeaveCell()
fg.Text = Combo1.Text
End Sub
************************************************************
Good luck
Harold

AddThis Social Bookmark Button