|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Combo box tpye control in MSHflexgrid cellHas 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. "Seasider" <j.knigh***@ntlworld.com> wrote in message This should get you started.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. > > ********************************************************* 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 |
|||||||||||||||||||||||