Hi!

I've been recently exploring the functionalities of Tk::HList module
and I've found it suiting all my needs great, however there's one
little thing I cannot resolve myself.

The question is how to disable the border (made of dashed line) around
the currently selected item? I tried to test all options, but none of
them seems to do what I need. The border still remains.

Here's an example source code:

#!/usr/bin/perl

use Tk;
use Tk::HList;

$mw = MainWindow->new;

$hlist = $mw->HList(
-background         => 'white',
-borderwidth        => '0',
-foreground         => 'black',
-highlightthickness => '0',
-selectbackground   => 'yellow',
-selectborderwidth  => '0p',
-selectforeground   => 'black',
-itemtype           => 'text',
-separator          => '/',
                  );

foreach ( qw(/ /A /A/B /A/C) ) {
$hlist->add( $_, -text => $_ );
}

$hlist->pack;

MainLoop;

I want the selected item only to be highlighted, but without having the border.

Many thanks in advance for your help!!!

Regards,
DJ Gruby.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to