Hi all,
WxRichTextCtrl is quite a complex control with a lot of different methods
and properties. It took me quite a while to get any familiarity with it at
all.
I've put some of my test code on the wiki at:
http://wxperl.pvoice.org/w/index.php/WxRichTextCtrl
It's not comple
Ok, So here's the answers:
>I'm looking at the WxRichTextCtrl buttons on:
>http://docs.wxwidgets.org/stable/wx_wxrichtextctrloverview.html
>and wondering how to implement them.
>Does anyone know where the code is?
Thanks to the C++ wx-users group for this: it's in
Dne 8.1.2010 14:24, Steve Cookson napsal(a):
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, "LoadFile ($buffer, $fh);
57 $self->{rich_text_ctrl_1}
>> 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, "LoadFile ($buffer, $fh);
57 $self->{rich_text_ctrl_1}->SetValue ($buffer );
Where I've just created output.ht
Hi All,
I'm looking at the WxRichTextCtrl buttons on:
http://docs.wxwidgets.org/stable/wx_wxrichtextctrloverview.html
and wondering how to implement them.
Does anyone know where the code is?
Have a good day.
Regards
Steve
<>
ion, here
it is (sorry for the length):
Regards
Steve
http://www.wxwidgets.org";>
Welcome to wxRichTextCtrl, a
wxWidgets control for editing and presenting styled text and images
by Julian Smart
Hi All,
I have wx application that relies on a set of templates to generate letters.
I am providing a basic letter editor using wxRichTextCtrl and therefore I'd
like to load the letters before editing.
This is the code I'm using, but I get a perl crash with no error message
when I r
On 3.1.2010 22:57, Steve Cookson wrote:
I don't know about th XML format, but here is how I get HTML from the
widget:
my $buffer = $richtext->GetBuffer;
open(my $fh, '>', \my $html) || die 'cannot open';
my $html_handler = Wx::RichTextHTMLHandler->new;
$html_handler->SaveFile($buffer
>I don't know about th XML format, but here is how I get HTML from the
>widget:
> my $buffer = $richtext->GetBuffer;
> open(my $fh, '>', \my $html) || die 'cannot open';
> my $html_handler = Wx::RichTextHTMLHandler->new;
> $html_handler->SaveFile($buffer, $fh);
Hi Jiri
That looks great.
o do is to edit a letter. I've looked at the wxPerl demo example and it
shows you how to maintain wxRichTextCtrl, but not the format of the
data. I'd like to have a number of letter templates (the doc says it's
custom XML), but I can't find the format, nor how to load or save docu
d at the wxPerl demo example and it shows
you how to maintain wxRichTextCtrl, but not the format of the data. I'd
like to have a number of letter templates (the doc says it's custom XML),
but I can't find the format, nor how to load or save documents.
So I'd load the letter usi
11 matches
Mail list logo