19.08.2010 21:02, Torsten Bonde Christiansen wrote:
When entering text, numbers, etc. into an edit control, I use the OnEditingDone event to validate the content. And if the content doesn't conform with my rules I would like to ensure the focus is kept at the edit being validated.
Use OnExit event to catch focus loose. The 0.9.29 version has many fixes for the OnEnter/OnExit, so the behavior can differ much from 0.9.28.

Best regards,
Paul Ishenin.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to