Scott K Purcell wrote:
> The error on both of these when run from a command line is:
> bad screen distance "fill" at c:/Perl/site/lib/Tk.pm line 217.
> # canvas1.pl
> #! perl
> use Tk;
> $top = MainWindow->new();
> $canvas = $top->Canvas(width=>200, height=>100)->pack(); # this much runs
> $id = $canvas->create('line',
> 10, 10, 100, 100,
> fill=>'red');
> MainLoop();
try specifying these options with dashes:
$canvas = $top->Canvas(-width=>200, -height=>100)->pack(); # this much
runs
$id = $canvas->create('line',
10, 10, 100, 100,
-fill=>'red');
--
Ned Konz
currently: Stanwood, WA
email: [EMAIL PROTECTED]
homepage: http://www.bike-nomad.com
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]