Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Private datasession and Prg Files
Message
 
À
22/01/2003 18:40:43
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00744390
Message ID:
00744973
Vues:
13
>>Can someone confirm the following statement?
>>
>>If a procedure in a prg file is called from a form method with a private datasession the procedure is executed within the private datasession.
>>
>>I cannot remember where I read this nor can I find it in the VFP documentation.
>
>Yes, it will execute within the private datasession.
>
>You can also do the following:
>
>WITH THISFORM && or WITH whatever.
> DO Something
>ENDWITH
>
>In this case, you can then also refer to methods and properties in the "WITH object" (polymorphism).

With at least one exception: THISFORM.whatever
You will get the error message "THISFORM can only be used within a form method" or something very close to that. It's happened to me a few times.

Dana
Where's the damned Any Key?...too late
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform