Data Base + HyperText
Posted: Fri Jan 05, 2007 6:01 pm
Hi Sergey. I have a problem when I load the data with hypertext from DB. All text and hupertext with formaing are right, but all links are corruped(OnJump: id=0; and
RETURNS '';
code:
(LOAD)
Code: Select all
RichViewEdit1.GetJumpPointLocation(id, RVData, ItemNo);
URL := PChar(RVData.GetItemTag(ItemNo));
code:
(LOAD)
Code: Select all
procedure TSecond.RichViewEdit1Jump(Sender: TObject; id: Integer);
var URL: String;
RVData: TCustomRVFormattedData;
ItemNo: Integer;
begin
RichViewEdit1.GetJumpPointLocation(id, RVData, ItemNo);
URL := PChar(RVData.GetItemTag(ItemNo));
ShellExecute(0, 'open', PChar(URL), nil, nil, SW_SHOW);
end;