kean has asked for the wisdom of the Perl Monks concerning the following question:
I create a HList and put widgets (example Entrys) in it.
Now when i use the tab key the focus jumps backward.
Is there a solution to get the focus jump forward?
When i use this for create Forms the direction is very important.
Here a little Example:
Is there a solution to get the focus jump forward?
When i use this for create Forms the direction is very important.
Here a little Example:
use strict; use warnings; use Tk; use Tk::HList; my $mw = MainWindow->new(); my $hlist = $mw->HList( -header => 0, -columns => 1 )->pack; $hlist->add(0); $hlist->itemCreate(0, 0, -itemtype => 'window', -widget => $hlist->Ent +ry(-text => "Text0") ); $hlist->add(1); $hlist->itemCreate(1, 0, -itemtype => 'window', -widget => $hlist->Ent +ry(-text => "Text1") ); $hlist->add(2); $hlist->itemCreate(2, 0, -itemtype => 'window', -widget => $hlist->Ent +ry(-text => "Text2") ); MainLoop;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Tab Order for Widgets in HList
by zentara (Archbishop) on Oct 19, 2011 at 14:01 UTC | |
by Anonymous Monk on Oct 19, 2011 at 14:59 UTC | |
Re: Tab Order for Widgets in HList
by Anonymous Monk on Oct 19, 2011 at 13:30 UTC | |
by Anonymous Monk on Oct 19, 2011 at 13:31 UTC | |
by choroba (Cardinal) on Oct 19, 2011 at 13:52 UTC | |
by Anonymous Monk on Oct 19, 2011 at 14:15 UTC | |
Re: Tab Order for Widgets in HList
by kean (Sexton) on Oct 19, 2011 at 13:48 UTC | |
by Anonymous Monk on Oct 19, 2011 at 14:15 UTC |
Back to
Seekers of Perl Wisdom