From: <jvr...@sq...> - 2006-06-28 19:49:12
|
[Quoting Jouke Visser, on June 28 2006, 21:38, in "Re: [wxperl-users] P"] > Yes. For this I usually use the EVT_KILL_FOCUS. The problem with this approach is that this event is also generated when the window loses focus for any other reason, e.g., when a system pop-up temporarily grabs then focus. This causes the "this field has changed" logic to trigger before the field entry is complete. For example, if a field must contain a 4 digit code, and a system pop-up appears when the user has entered only 3 digits, after dismissal of the pop-up he will get a warning that the input is only 3 digits, and hence invalid. -- Johan |