Hello Julian,
What event of TTWPPreview do I use so that when I click on a thumbnail image the attached TWpRichText shows the page ?
Regards,
Paul Cunningham
#1
♥ 0
Hello Julian,
What event of TTWPPreview do I use so that when I click on a thumbnail image the attached TWpRichText shows the page ?
Regards,
Paul Cunningham
Hi,
OnClick would do it.
procedure TWPTBXForm.WPPreview1Click(Sender: TWPCustomRtfEdit; PageNo, X, Y: Integer; var Ignore: Boolean);
begin
if PageNo >= 0 then WPRichText1.PageNumber := PageNo;
WPPreview1.Memo.SelectedPage := PageNo;
end;