Hello,
I have a table item it has 3 field code name qty
it is connect with adodc and flexgrid wht i want is
if my focus is on code it display a textbox in cell and then
when i pressed tab or enter it display in name then
qty
plz help me
regards
Printable View
Hello,
I have a table item it has 3 field code name qty
it is connect with adodc and flexgrid wht i want is
if my focus is on code it display a textbox in cell and then
when i pressed tab or enter it display in name then
qty
plz help me
regards
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