Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
@...GET - How to programmatically fire the Valid
Message
 
À
25/07/2007 19:51:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01243441
Message ID:
01243639
Vues:
30
Rich,

>I don't think you can do this directly. If you create procedures/functions for the WHEN and VALID clauses for any GET they are stored as Functions within the SPR and are assigned random names when you generate the form.

If, as the first line of the code snippet for each clause, When and Valid in this example, you use the #Name generator directive, then the name of the functions won't be random, for example if you put in the When snippet
#Name ThisIsTheWhenOfObject1

* Your When code here
Then you'll get a function of that name generated (all uppercase)
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform