Using an ICON to link to a web page

SOLVED

I have a icon and I have set up a script to make it clickable. When I click on the icon, it isn't loading anything. This is the code I have. Is this not possible with icons?

Subprog CL_ZPICDOWNLOAD(VALEUR)
Variable Char VALEUR()

Callui RETOUR="" With "UIAction="+chr$(1)+"OpenFile", "UILocalDir="+chr$(1)+"HTTPS", "UILocalFile="+chr$(1)+"GOOGLE.COM"

End

Parents Reply
  • +1 in reply to ChrisCC
    verified answer

    Hi Chris,

    I've tried this before and it worked fine. (SAGE V12, Patch17)

    1. Added icon in Screen
    2. Added action to item ( Click)
    3. In SPE file generated used : 
      1. Callui RETOUR="" With "UIAction=" + chr$(1) + "OpenFile",
        & "UILocalDir=" + chr$(1) + "HTTPS",
        & "UILocalFile=" + chr$(1) + "www.sage.com"
    4. compile and save SPE;
    5. click icon in screen.

    What's the SAGE version you're in.

    Hope it helps.

    Best regards.

Children