How to save hotspot styles and reproduce it?
Posted: Fri Jun 08, 2007 7:24 am
Hi, Sergey -
I added hot image which showed mouse over, mouse out effect, now I save the document and reload it again, but after reloading, the images cannot be showed like before, why? Is there a method to have the hotimages saved and reloaded?
procedure TForm1.Button1Click(Sender: TObject);
begin
RichViewEdit1.InsertHotspot(0,1, ImageList1);
RichViewEdit1.SetCurrentHotspotInfo('blah blah...', 0,1, ImageList1, 1);
RichViewEdit1.InsertText('some strings',False);
end;
// Save the file with hotImages
procedure TForm1.Button2Click(Sender: TObject);
begin
RichViewEdit1.SaveRVF( 'temp.rvf', False);
end;
// Load the rvf file
procedure TForm1.Button3Click(Sender: TObject);
begin
RichViewEdit1.LoadRVF('temp.rvf');
RichViewEdit1.Format;
end;
Thanks
Andy
I added hot image which showed mouse over, mouse out effect, now I save the document and reload it again, but after reloading, the images cannot be showed like before, why? Is there a method to have the hotimages saved and reloaded?
procedure TForm1.Button1Click(Sender: TObject);
begin
RichViewEdit1.InsertHotspot(0,1, ImageList1);
RichViewEdit1.SetCurrentHotspotInfo('blah blah...', 0,1, ImageList1, 1);
RichViewEdit1.InsertText('some strings',False);
end;
// Save the file with hotImages
procedure TForm1.Button2Click(Sender: TObject);
begin
RichViewEdit1.SaveRVF( 'temp.rvf', False);
end;
// Load the rvf file
procedure TForm1.Button3Click(Sender: TObject);
begin
RichViewEdit1.LoadRVF('temp.rvf');
RichViewEdit1.Format;
end;
Thanks
Andy