I use RichViewEdit to load a RTF file with hyperlinks that have unicode in them.
However, when I test displaying them I have a problem in:
Code: Select all
procedure TMainForm.RichViewEditJump(Sender: TObject; id: Integer);
var
RVData: TCustomRVFormattedData;
ItemNo: Integer;
s: String;
begin
RichViewEdit.GetJumpPointLocation(id, RVData, ItemNo);
s := RVData.GetItemTag(ItemNo);
HypTxt.Caption := 'Hyperlink:' + s; //Note this component is Unicode able
end;
I believe my problem is in a wrong setting in RichViewEdit or RVStyle but I can't figure it out.
You can see that unicode in the text displays just fine but hyerlinks do not.
I've attached a small rtf test file to use.