[Gtk-sharp-list] Gtk.Entry Validation and Input

Roberto Rodriguez Alcala rralcala at gmail.com
Sun Nov 5 19:02:20 EST 2006


Thanks for the Tips, they are very useful for some of my entries!.

About the question, for some entries is Mandatory for me to do the
auto correcting input, for example a Amount input with automatic
Thouthands  separator (They must apear but you don't need to write
them, and need to delete digits too).

Another thing is that I can't force a entry to work in overwrite mode,
mandatory for some other entries (I wrote a handler for TextInserted
and Deleted to emulate that and disabled the entry input when
toggle-overwrite event happens ).

Roberto

2006/11/5, Dominik Zablotny <doza at sztorm.net>:
> Dnia 06-11-2006, pon o godzinie 00:10 +0100, Dominik Zablotny napisał:
> > Answering by question: are you sure you want to do it? Validating data
> > on single character is in most cases bad choice. It makes harder for
> > users to correct typos and results in complicated code.
>
> I meant mainly auto-correcting, not validating ;)
>
> --
> Dominik Zablotny
> xmpp:doza at sztorm.net
>
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>


-- 
Roberto Rodriguez Alcala


More information about the Gtk-sharp-list mailing list