http://www.perlmonks.org?node_id=1186934


in reply to Re^5: Tk::BrowseEntry listbox scrollbar with Mousewheel on Windows
in thread Tk::BrowseEntry listbox scrollbar with Mousewheel on Windows

You are right I missed the scrollbar, but:
$b->Subwidget('slistbox')->toplevel
can be simply written as:
$b->Subwidget('choices')

I figured out the underline is coming from the 'activate' method of Listbox.

I don't really get the point of the 'activate' method, I'll have to think about how to deal with it.
I wish I could simply deactivate the 'activate' method altogether... ;)

Replies are listed 'Best First'.
Re^7: Tk::BrowseEntry listbox scrollbar with Mousewheel on Windows
by beech (Parson) on Apr 04, 2017 at 06:58 UTC

    Hi

    Does the spoiler work for you?

    $b->Subwidget('slistbox')->configure( -activestyle => 'none' );
    Seems to turn off underlining on windows
      Sorry, I missed the spoiler, yes it works great, many thanks, that solves the last issue.