Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Link
Message
De
13/03/2003 08:33:38
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Re: Link
Divers
Thread ID:
00765316
Message ID:
00765322
Vues:
27
>how can I put a link in a form so that the use clicks and
>go to my website ?
>
> using VFP 6.0
>
> Moises

Moises,

One solution is to create a label (class) with eg fontUnderline = .T. and the caption set to eg www.MyWebSite.com
* init of label
if( !DoDefault() )
	return .F.
endif

if(type('thisform._Hyperlink') == T_OBJECT )

else
	thisform.AddObject('_Hyperlink', 'Hyperlink')
endif

** Click of label
=thisform._Hyperlink.NavigateTo(this.Caption)
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform