[Lazarus] Aborting change of focused control
Paul Ishenin
webpirat at mail.ru
Thu Aug 19 15:25:02 CEST 2010
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.
More information about the Lazarus
mailing list