I wrote this article years ago http://www.universalthread.com/ViewPageArticle.aspx?ID=667
It is a good example on how you can do data entry with grids. Take a look at how I use the valid method to control input, what happens with lostfocus, how arrow keys can be prevented from launching valid code when not needed, etc.
Rafael Copquin El 04/11/2013 18:48, Gene Wirchenko escribió:
Dear Vixens and Reynards: More slow progress on grids.I realised that I had fallen on my old habit of using .valid and decided to use .lostfocus instead for control-level validation. It works except...The control does not display input the second time.I enter an invalid value then tab. I get the error message. At this point, the focus should be on the error control and I should be able to enter another value. The focus is there, but the characters that I then type are not displayed. When I tab out, they do show up.What am I overlooking here? Sincerely, Gene Wirchenko
[excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

