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!

MSFLexGrid Editing with Textbox

Status
Not open for further replies.

zggs90

Programmer
Sep 3, 2001
58
GB
I am using a textbox or a ComboBox placed over a MSFlexGrid cell for editing - which seems to be one of the standard ways of doing it. When I switch from cell to cell the textbox always losses focus and is then repositioned over the new cell and gains focus.

The problem that I have is when I clicked the mouse outside the FlexGrid on the Form or some other control then the editing textbox does not loose focus and update the resulting cell with the edited value (which is what normally happens when I am editing several cells).

Any ideas how I can address this problem?
 
off hand I think i put a call to my editing routine in the flexgrid leave cell sub, and then set the textbox visible = false.... something along those lines.... took me a little playing around to overcome that problem
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top