trichview.com

trichview.support




TDBRichView Hyperlink not working


Return to index


Author

Message

Etienne van Tonder

Posted: 06/19/2003 11:17:02


We are close to completing(finally) our eval of your component, but have

struck one problem:


I have a TDBRichView on my form, I've checked the example code and used the

same code in my function, I've also checked to make sure that

rvoTagsArePChars in Options is set. When I trace into the code the URL

returned is NULL, as well the RVData = NULL & ItemNo = 0. My code is shown

below:


void __fastcall TfrmEMailPreview::rvvMessageJump(TObject *Sender, int id)

{

    TCustomRVFormattedData* RVData;

    int ItemNo;


    rvvMessage->GetJumpPointLocation(id, RVData, ItemNo);

    AnsiString URL = (char*)RVData->GetItemTag(ItemNo);

    ShellExecute(0, "open", URL.c_str(), NULL, NULL, SW_SHOW);

}


Does hyperlinks work with TDBRichView, if so is there a setting I'm missing.


Thanks,


Etienne.







Powered by ABC Amber Outlook Express Converter