Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using text box to type in msflexgrid

Status
Not open for further replies.

shahina

Programmer
Aug 19, 2003
47
IN
Hi...

i am using a msflexgrid and a text box to edit the data in the grid. each time i load the data to the grid, and when it's clicked for the first time the data in the first cell of the grid is getting lost..
in the leavecell event am writing grid.text=textbox.text and in the entercell, textbox.text=grid.text..how can i solve this?
it is coming if i click anywhere in the grid..not in first cell and only the data in the first cell is lost..
i don't want to disappear the data, only if the user clicks and type it the typed data should come..
hope u have got the problem and please help me..

thanx in advance..

shahina.
 
There is a good faq on using Flexgrid and editing it. Try faq222-3262

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'If we're supposed to work in Hex, why have we only got A fingers?'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top