What is the value of $pt12 and what happens if you put it in double quotes?
-----Original Message-----
From: Dennis Putnam [mailto:dap1@mindspring.com]
Sent: Wednesday, July 16, 2003 3:11 PM
To: perl-win32-gui-users@lists.sourceforge.net
Subject: [perl-win32-gui-users] AddTextfield error

I have the following object defined:

$window->AddTextfield(
  -name=>"URL",
  -top=>90,
  -left=>10,
  -font=>$pt12,
  -prompt=>"Enter starting URL",
  -text=>"http://",
  -width=>430,
  -height=>25,
);

Everything is working correctly but I get the following errors (when I comment out the object the errors go away):

Use of uninitialized value in subroutine entry at C:/OpenSA/perl/site/lib/Win32
GUI.pm line 524.
Use of uninitialized value in subroutine entry at C:/OpenSA/perl/site/lib/Win32
GUI.pm line 524.

Although I cannot find anything in the docs about required options, obviously I'm missing something required. Can anyone help? TIA.