>> I think maybe the CellTextChange event is what you want to check >> for that >> one...maybe the event is there, even though it sounds like >> LostFocus should >> do it too. I have used CellTextChange event for what you're doing. > > I'm using Cell Text Change too. But I use it to set a boolean. > > Then, at Cell Lost Focus, it checks to see of the boolean is true. If > so, it executes the Update method. > > However, the Cell Lost Focus doesn't seem to work if one is (1) in > the cell, (2) changes the text and then (3) clicks outside of the > listbox.
Does the CellTextChange fire when you leave the LB via a mouse click on some other control/window whatever, do you get your bool to change when that happens? I wouldn't expect lost focus to fire while you're in the cell because it still has focus and just guessing, but the listbox's lostfocus probably fires on the click outside - which sort of makes sense. If you had a multicolumn lb with 20 cols and 10k rows, and each cell fired a lost focus when you click a different control it would be kind of silly wouldn't it? I would also think that if cell text changed and the lb loses focus that you should get that event as well - havent tested this but I think that's what I would expect. HTH, -seanA _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
