On 8/24/2015 03:16, pit wrote:
> Am Donnerstag, 20. August 2015 23:02:42 UTC+2 schrieb $Bill:
>> On 8/20/2015 05:04, pit wrote:
>>> Hi All,
>>>
>>> I have the following problem with programs in perl/tk under Windows 8.1 with perl 5.14 and TK version 804.032
>>>
>>> In the program exists an HList. When I scroll down the list and then finish the program, comes the following message:
>>>
>>> "Tk_FreeCursor received unknown cursor argument"
>>>
>>> and the program doesn't finish correctly.
...
> Start the program, scroll down some lines and finish the program, then the error will be occured. When scrolling down and scroll up again to the first line, it doesn't happen.
I can't reproduce it, so that leads me to believe it's a version/platform issue.
I'm on Doze 8.1 with AS Perl 5.20 and Tk 804.033
See if this one does the same (removed the delete window parts).
use strict;
use warnings;
use Tk;
use Tk::HList;
my $mw = MainWindow->new(-title => 'Mainwindow', -cursor => 'arrow');
my $cursor = $mw->cget(-cursor);
my $hl = $mw->Scrolled('HList', -columns => 1,)->pack(
-expand => 1, -fill => 'both', -side => "top", -anchor => "nw");
$mw->Button(-text => 'Quit', -command => sub { exit; })->pack(
-side => 'bottom');
for (my $i = 0; $i <= 20; $i++) {