Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting a handle of VFP or VFP form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00669251
Message ID:
00669289
Vues:
11
Hi Gérald,

>Dont let the browser control doing the job :-)
>Intercept the link in BeforeNavigate(), cancel the navigation and open your other form with the URL as parameter...

Good tip! And I almost have it working!

Here's what I'm doing:

1) I set the link to a form path+name in the HMTL document

2) I trap for a URL parameter in the BeforeNavigate2 event with an SCX extension.

3) Navigate back to the calling URL

4) I "DO" the passed FORM

5) I return .F.

The only problem now is that the web browser wants to download the SCX file to me (it thinks that I'm requesting a download).

I was hoping the "return .F." would end the BeforeNavigate2 event, but it doesn't seem to.

Any other thoughts?

Hugh
Microsoft hears loudest what the VFP community says about Visual FoxPro by looking at the bottom line!

Support the product. Buy the latest version!

Hugh Winters @ WorldData 408-512-1131
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform