Please specify wich Display Technology you use (WinForms, WPF, ASP.Net). In general, Texboxes have Events for gain/loss of Focus (with wich the keyboard cursor is meant) that yo could use:
Note that loss of focus is generally more important - you want to validate, recalculate, parse input and the like when the Focus is lost, not when it is gained.
Let's talk about MVVM: http://ift.tt/1fpEgna Please mark post as helpfull and answers respectively.
No comments:
Post a Comment