in reply to Questions about Win32::GUI::RichEdit
This is how you append to a RichEdit control (with a certain font and styles etc. Only set the options you want to change):
$rePOD->Select(999999,999999); $rePOD->SetCharFormat( -color => 0x000000, -bold => 1, @aFont -height => $self->rhConfig()->{podFontSize}, -name => $self->rhConfig()->{podFontName}, ); $rePOD->ReplaceSel("$line\n", 1);
The docs are a bit spotty, yes, but the simple demo programs clarify a whole lot. Unfortunately it's not in the current PPM distro, but I think they will be bundled with the new version due Real Soon Now(tm).
Until then, get the source distro which has the demo programs.
/J
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Questions about Win32::GUI::RichEdit
by Ace128 (Hermit) on Jul 07, 2005 at 02:02 UTC | |
by jplindstrom (Monsignor) on Jul 07, 2005 at 07:33 UTC |