>> Can you do a "LoadFile" too? >Probably, but I did not get to it yet.
Hi Jiri, I've tried: line # 53 my $HTML_handler = Wx::RichTextHTMLHandler->new; 54 open (my $fh, "<output.htm") or die "cant open output file: $!"; 55 my $buffer = ""; 56 $HTML_handler->LoadFile ($buffer, $fh); 57 $self->{rich_text_ctrl_1}->SetValue ($buffer ); Where I've just created output.htm from SaveFile, and I get: "Variable is not an object: it must have type Wx::RichTextBuffer at C:\Documents and Settings\Steve.....\deleteme_RichText2.pl line 56." However, it doesn't work either with XMLHandler, but instead it just gives a Perl crash. So I'm inclined to believe that I have a syntax error either in the XMLHandler code or the XML file. Have you experimented with this at all? Please let me know what you think. Have a good day. Regards Steve