[Gtk-sharp-list] Entry EditingDone Event
Luciano Callero
lnc19@hotmail.com
Fri, 24 Oct 2003 15:02:41 -0300
Yes this is the only way that i find, but my mistake was that i think that
editingDone event was a Validate Event (this is an event that is fired
before focus and it can stop the focus).
Thanks for your wasted time on this topic.
>From: Mike Kestner <mkestner@speakeasy.net>
>To: Luciano Callero <lnc19@hotmail.com>
>CC: gtk-sharp-list@lists.ximian.com
>Subject: Re: [Gtk-sharp-list] Entry EditingDone Event
>Date: Fri, 24 Oct 2003 12:57:02 -0500
>MIME-Version: 1.0
>Received: from mail.speakeasy.net ([216.254.0.208]) by mc6-f38.hotmail.com
>with Microsoft SMTPSVC(5.0.2195.5600); Fri, 24 Oct 2003 10:56:32 -0700
>Received: (qmail 22344 invoked from network); 24 Oct 2003 17:56:29 -0000
>Received: from unknown (HELO alpha) (mkestner@[64.81.145.188])
>(envelope-sender <mkestner@speakeasy.net>) by mail8.speakeasy.net
>(qmail-ldap-1.03) with SMTP for <lnc19@hotmail.com>; 24 Oct 2003
>17:56:29 -0000
>X-Message-Info: JGTYoYF78jFCHl6azwEK0H7Hs2Ovxl2i
>In-Reply-To: <BAY2-F28cF1s5IOiV3X0000a0cf@hotmail.com>
>References: <BAY2-F28cF1s5IOiV3X0000a0cf@hotmail.com>
>Message-Id: <1067018222.3777.1713.camel@alpha>
>X-Mailer: Ximian Evolution 1.4.4 Return-Path: mkestner@speakeasy.net
>X-OriginalArrivalTime: 24 Oct 2003 17:56:33.0358 (UTC)
>FILETIME=[29157EE0:01C39A58]
>
>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>
>
_________________________________________________________________
Las mejores tiendas, los precios mas bajos, entregas en todo el mundo,
YupiMSN Compras: www.yupimsn.com/compras