Delete or Edit hyperlink

  • Hello,
    I try to update some of my apps from version 4 to 6. I hugely used hyperlink to make my text more friendly user, and i'm little lost with the "new" :) way.

    I use this code to find my link (found here on the foum)...

    ...but...
    this code do not delete my hyperlink, this one transform my link to normal text.

    My goal is for example:
    cltl + clic (on the link) open a dialog box to let my user edit the link
    or alt + clic delete all the link (link + url)
    How can i do that ?

    best regards,
    thanks for your help.

    • Offizieller Beitrag

    You can use code like this:

    This code is adapted from the code in EditHyperlink() in unit WPCtrRich.pas.

    Julian