Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: TK/HList and focus

by choroba (Archbishop)
on Nov 26, 2021 at 17:18 UTC ( #11139148=note: print w/replies, xml ) Need Help??


in reply to TK/HList and focus

That's because the label or the button steal the focus from the HList. You can prevent it with
$_->bind('<FocusIn>', sub { $hlist->focus }) for $label, $button;

but it might interfere with how sorting the columns works which you haven't showed.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^2: TK/HList and focus
by andyok (Novice) on Nov 27, 2021 at 09:26 UTC
    That's brilliant. Thank you very much. Works a treat.

    Andrew

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11139148]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2022-05-18 22:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (71 votes). Check out past polls.

    Notices?