[Gtk-sharp-list] Entry EditingDone Event
Mike Kestner
mkestner@speakeasy.net
Fri, 24 Oct 2003 12:57:02 -0500
On Fri, 2003-10-24 at 12:11, Luciano Callero wrote:
> Imagine that you have 2 Entry's that are one next to other. If you have the
> FocusIn event in the second and the focusOut (In the second Entry). And In
> the first you have the FocusOut, if you have some validations on the
> focusOut 1 (First Entry) the focus left, then gives you a message, and
> execute the focus In of the second Entry, but if you tell Return to previus
> (Depending on the question answered on the message display), You can't stop
> focus, it happen some BIG loop, and this is really dirty.
I'm not certain that I'm completely following the example, but it sounds
like you are validating the contents of the entry and have to refocus
the entry if the validation fails or write to the data store and allow
focus to leave if validation succeeds. If that's the case, you may need
to grab the focus and proactively manage focus out behavior instead of
just listening for a focus out event.
--
Mike Kestner <mkestner@speakeasy.net>