Morbus Iff wrote:
# add the string to our box.
$logbox->Text($logbox->Text . "\r\n $message");
Instead of replacing the entire text with the entire text + something new,
add the new text to the bottom of the existing text:
#Select the last thing in the RichEdit
$rePOD->Select(999999,999999);
#Replace the selection with new text
$rePOD->ReplaceSel("$line\n",1);
I "stole" this technique from the PerlMonks chatterbox client.
/J
--
Johan Lindström, Sourcerer, Boss Casinos Ltd, Antigua
[EMAIL PROTECTED]