I have no idea what you said. I had to make a guess...
Place a textbox on your form, remove it's border, and set it's visibility to false. Name it txtflex, and name your flexgrid as flex.
VB Code:
Private Sub flex_Click() txtflex.Top = flex.Top + flex.CellTop txtflex.Left = flex.Left + flex.CellLeft txtflex.Visible = True txtflex.Text = flex.Text txtflex.Width = flex.CellWidth txtflex.Height = flex.CellHeight End Sub Private Sub txtflex_Validate(Cancel As Boolean) flex.textmatrix(flex.row, flex.col) = txtflex.text 'or code to update db txtflex.visible = false End Sub




Reply With Quote