have you tried this:
# change to red
$Textfield-Change( -background = [ 255, 0, 0 ] );
# repaint the control
$Textfield-InvalidateRect(1);
hope this helps.
It's not working for me. Not only that, but if I try change the background
color, it fails and the foreground color
Here's something else I couldn't find in the archives:
Is it possible to change the size in a font object? I've tried using the
Change method to change the size and then resetting the font using the
SetFont method, but it doesn't work. I don't want to create a whole bunch
of font objects
I searched the archives, but could not find what I needed. Is there
actually a way to change the background color of a textfield after it is
created? I can do it with foreground color, but not background. The
closest thing I found in the archives was this from Aldo:
I got the thing to run on my system. Thanks to those who offered help. (I
still don't know why the debugger's not finding perl5db.pl, but at least
win32GUI is working...)
__
Get Your Private, Free Email at http://www.hotmail.com
Thanks for your prompt response, Jenda.
Could you post the relevant code?
I get the message in reference to GUI.pm line 1334. Lines 1334-1336 follow:
for my $i (0..($self-Count-1)) {
push @list, Win32::GUI::Listbox::Item-new($self, $i);
}
is GUI.pm supposed to be empty when you
I keep getting a "Missing $ on loop variable..." error statement. I looked
in the archive, and there was a similar message in whichnit turned out the
sender had not received all the necessary files in the distribution he
downloaded. I checked, and I have all the files, but GUI.bs is just an
6 matches
Mail list logo