Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web Browser control - implementing pop up windows
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00887760
Message ID:
00888441
Vues:
19
>Thanks Alexander -- I saw that mentioned in MSDN documentation, but I don't understand how one "passes back" a value in an event. I always thought events passed values *to* the function, and I can't grasp how I go about *setting* the cancel parameter... isn't it already set when it's passed in?

Paul,
Both parameters in the NewWindow2 event are [in, out]. This means that they are passed by reference, not by value, and you can change these values in your function. For example, you can change the value of Cancel parameter from passed in default value .F. to .T.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform