Tk::MListbox-1.11 fails under Windows XP SP2 as well as Vista:
http://community.activestate.com/forum-topic/tk-mlistbox-vista
with the message
error: Not a CODE reference...
I think this is related to a MListbox with scrolling, both Scrolled and
Scrollbars.
I'm using:
ActiveState perl v5.8.8 build 820.
Windows XP Version 2002 Service Pack 2.
TK 804.027-r6, and 804.028
Subject: | mlistbox-no-code-ref.pl |
#!/usr/bin/perl -w
use strict;
use Tk;
use Tk::MListbox;
my $mw = Tk::MainWindow->new(-title => 'MListbox - Not a CODE reference');
my $mlb = $mw->Scrolled(
'MListbox',
-scrollbars=>'se',
-selectmode=>'extended',
)->pack(
-expand=>'true',
-fill=>'both',
-side=>'top',
);
$mlb->columnInsert('end', -text=>'Test');
MainLoop;