Lost focus fires after the control got focus and lost it. If it nevers get any focus before, the lost focus will not fire.
Anyway, try to use other event instead of lost focus.
Sometimes, if you code something repetitive inside the event and the event fires, your app might be stuck (I forgot the exact term for that)