> -----Original Message-----
> From: Dennis Putnam [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 16, 2003 9:06 AM
> To: perl-win32-gui-users@lists.sourceforge.net
> Subject: [perl-win32-gui-users] Another novice question - font for
> AddTextfiled -prompt property
> 
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> How do I set the font for the '-prompt' property? The '-font' 
> parameter 
> only seems to effect the text box. The obvious (to me):
> 
> $window->mytextfield->Prompt->Font($F);
> 
> doesn't work? TIAA.
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>
> Comment: Be sure to use my most recent key -  created 6/16/03
> 
> iQA/AwUBPxVNyf34lmKmdrVUEQKivACfRF1spfTVwOo+W5mfV9urwoHPc0AAn0g+
> PHOhEYEYr238fxN/upM/3OgT
> =Jm0E
> -----END PGP SIGNATURE-----

Personally, I would say that it cannot be done like this.  I would either a) 
create a true label object or b) create a class object and add the text field 
-class option.  Then you can change the font via the class object (I do not 
know if this will work since I have not tried it.

My suggestion is to just use a label object and arrange on the the screen next 
to the text box.  Of course, if I were going to that much trouble, I would use 
The GUI Loft anyway.

Reply via email to