trichview.com

trichview.support




Re: Remove Hyperlink


Return to index


Author

Message

Sergey Tkachenko

Posted: 02/05/2004 22:59:42


It's possible to do without changing RichViewActions.


You can use TrvActionInsertHyperlink. This action has OnHyperlinkForm event

(for displaying custom forms for hyperlink insertion/editing).


You can process this event to return empty target without displaying form:


procedure TForm1.rvActionInsertHyperlink1HyperlinkForm(

  Sender: TObject; InsertNew: Boolean; var Text, Target: String;

  var Proceed: Boolean);

begin

  Proceed := not InsertNew;

  Target := '';

end;


This will remove hyperlinks from the selected form.


You can assign this action to some button/menu, or call

rvActionInsertHyperlink1.Execute.





Powered by ABC Amber Outlook Express Converter