Discussion:
Turbopower IPro problem - selecting text in HtmlPanel
Timothy Ha
2005-11-10 22:46:25 UTC
Permalink
I was reading Christian U. message at
http://www.mail-archive.com/***@miraclec.com/msg01959.html and would
like to know the progress of using Turbopower Ipro to read HTML files.

I could load a HTML into the HTML Panel, but got errors when tried to
select a bit of text


IpHtml.pas about line 7827 I've got

{$IFDEF IP_LAZARUS}
writeln('TIpHtml.PaintSelection PatBlt not implemented');
{$ELSE}

As for loading text into HtmlPanel, this is what I did:

procedure TForm1.Button1Click(Sender: TObject);
var
h: TIpHTML;
f: TFileStream;
begin
h := TIpHTML.Create;
f := TFileStream.Create('d:\my.html', 0);
h.LoadFromStream(f);
IpHTMLPanel1.SetHtml(h);
end;

How can I copy-paste text from Ipro HtmlPanel to other applications now?
Christian U.
2005-11-11 05:26:45 UTC
Permalink
Post by Timothy Ha
How can I copy-paste text from Ipro HtmlPanel to other applications now?
Implement PatBlt ...

Christian
Timothy Ha
2005-11-11 06:02:48 UTC
Permalink
Post by Christian U.
Post by Timothy Ha
How can I copy-paste text from Ipro HtmlPanel to other applications
now?
Implement PatBlt ...
Christian
So no other solution? :-)
You have wrote about some successful exploitation of IpHtmlPanel - but
you only display HTML, not selecting and copying anywhere ?

Timothy
Bogusław Brandys
2005-11-11 10:40:29 UTC
Permalink
Post by Timothy Ha
Post by Christian U.
Post by Timothy Ha
How can I copy-paste text from Ipro HtmlPanel to other applications
now?
Implement PatBlt ...
Christian
So no other solution? :-)
You have wrote about some successful exploitation of IpHtmlPanel - but
you only display HTML, not selecting and copying anywhere ?
Timothy
And what about printing html files (mostly I'd like to use it for
creating help for my application) from IPro under Win32?


Regards
Boguslaw Brandys
Christian U.
2005-11-11 14:16:12 UTC
Permalink
Post by Timothy Ha
So no other solution? :-)
You have wrote about some successful exploitation of IpHtmlPanel - but
you only display HTML, not selecting and copying anywhere ?
exact I use it only for an help viewer, theres no need for selecting
text

Christian
Timothy Ha
2005-11-11 15:42:44 UTC
Permalink
Post by Christian U.
Post by Timothy Ha
So no other solution? :-)
You have wrote about some successful exploitation of IpHtmlPanel - but
you only display HTML, not selecting and copying anywhere ?
exact I use it only for an help viewer, theres no need for selecting
text
Does your help file contain images? My test files seems to give errors
on undefined handlers for images.
How about navigating between sections of the help files - between many
(local) pages?

If things are working for you, can you publish some working samples of
code on the Web?
Thanks.

Timothy.

Loading...