AFAIK,
You can use -foreground[r,g,b] and -background[r,g,b] when you create the
textfield. (r,g,b is colour values 0 to 255)
but they cant be changed.
 
One work around idea would be to make two textfields, then hide and show
each to change, you would have to keep the text in sync.
 
JohnR

-----Original Message-----
From: Dick Vlaanderen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 5 December 2001 11:19
To: Perl-Win32-Gui-Users (E-mail)
Subject: [perl-win32-gui-users] Problem with updating the color of a
textfield


I want to change the foreground color of a textfield. 
 
I ran the colors.gpl script from the PerlWin32Samples suite. This script
does not change the foreground color of the textfield after selecting a
different color.
 
Can anybody help me with this one?
 
Dick


Reply via email to