(sorry if this message comes through twice)
Hi,
I am parsing a textfile into a richedit control, and want to highlight
certain words.
I can do this by changing the fontcolor like this:
if(/wordtohighlight/) {
$Textbox->SetCharFormat(-color => "#55");
}
while parsing the file,
but I can'
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
At 03:58 AM 7/20/2003, you wrote:
>In the typiucal windows way (which we can do in PERL), is to start a
>TIMER.
>The classic to this approach is a "setup" pogram with the prograss bar.
>
>When you start your script, you will need to set a WM_TIMER for
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
It seems that even the simplest things get complicated.
I created a timer thus:
my $timer1=$window->AddTimer('T1',250);
How much simpler can one get then that? Anyway, this produces an error at
every timeout:
"Use of uninitialized value in subrout
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
At 09:58 PM 7/20/2003, you wrote:
>A bald guess, but I've gotten this particular error several times when I
>wrote an event handler that didn't return a value. It's worth a look...
Thanks for the suggestion. It was worth a look but alas did not help
In the typiucal windows way (which we can do in PERL), is to start a
TIMER.
The classic to this approach is a "setup" pogram with the prograss bar.
When you start your script, you will need to set a WM_TIMER for some
time slice,
eg, every 2 seconds.
If you're building your own GUI, then before th
Hi,
I am parsing a textfile into a richedit control, and want to highlight
certain words.
I can do this by changing the fontcolor like this:
if(/wordtohighlight/) {
$Textbox->SetCharFormat(-color => "#55");
}
while parsing the file,
but I can't find how to change the background color for
6 matches
Mail list logo