Hi,
Here is waht I have:
use strict;
use Tk;
my $mw = MainWindow->new;
my $width = "1024";
my $height = "768";
$mw->geometry("$widthx$height+0+0"
;
$mw->title("WOProj"
;
MainLoop;
The geometry line should make the window width=1024 height=768.
but I can't get the quotes right.
the way it is the first variable is $widthx which is not right....How would I set this line to
$mw->geometry("1024x768+0+0"
;
by the way this works..Just not with the variables
thanks
paul
Here is waht I have:
use strict;
use Tk;
my $mw = MainWindow->new;
my $width = "1024";
my $height = "768";
$mw->geometry("$widthx$height+0+0"
$mw->title("WOProj"
MainLoop;
The geometry line should make the window width=1024 height=768.
but I can't get the quotes right.
the way it is the first variable is $widthx which is not right....How would I set this line to
$mw->geometry("1024x768+0+0"
by the way this works..Just not with the variables
thanks
paul