Re: Automatic Focus Change

From: Date: Wed, 03 Apr 2002 02:37:55 +0000
Subject: Re: Automatic Focus Change
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1703@lists.php.net to get a copy of this message
I Have tried with grab_focus but it doesnt work.... Do you have any example? Thank You ----- Original Message ----- From: "Roberto Villarreal" <roberto.villarreal@funktiontech.com> To: "Alan Knowles" <alan@akbkhome.com> Sent: Tuesday, April 02, 2002 8:20 PM Subject: Re: [PHP-GTK] Automatic Focus Change > I added a key pressed event to each box and on the callback i check if the > lenght is = 3 but the only thing i dont know how to do is to set focus on > the next!? > > Do you know? > > > > add a key pressed event to each box, on the callback test that a > > character was entered, and if the length is 4, set focus on the next > > box. - Theres no 'automatic' way to do it (AFAIK) > > regards > > alan > > > > Roberto Villarreal wrote: > > > > >Hi, I have been searching for at least 8 hours a way to automatic change > an entry's focus... > > > > > >Here is my problem: > > > > > >I have a program that asks for an IP number, > > > > > >It shows 4 entries one for each segment of the IP number... > > > > > >What i want is that when the lenght of the first entry is 3, it focus > the next entry and so on.. > > > > > >Any Ideas?? > > > > > >Thank You Since Now > > > > > > > > >Roberto Villarreal > > > > > > > > > > > > > >

« previous php.gtk.general (#1703) next »