Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a way to include hyperlinks in a visual foxpro
Message
 
 
À
17/08/1998 09:37:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00127375
Message ID:
00127401
Vues:
27
John,

Use a label subclass, that uses mouse cursor like the hand, in the click event:
declare long ShellExecute in "shell32.dll" ;
   long hwnd, ;
   string lpszOp, ;
   string lpszFile, 
   string lpszParams, ;
   string lpszDir, ;
   long nShowCmd  

declare long GetDesktopWindow in "win32api"   

local hDCScreen   

hDCScreen = GetDesktopWindow()

ShellExecute( hDCScreen, "open", this.Caption, "", "", 1 )
If you want keyboard access have the label subclass Init() AddObject() a commandbutton set to style-Invisible that calls the label.Click() from it's Click().

>Is there a way to add hyperlinks onto forms that will launch the internet explorer to the specified address when the link is clicked?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform