http://qs1969.pair.com?node_id=11139148


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