Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to dynamically set Valid etc. Propery
Message
 
À
18/03/2001 22:35:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00486322
Message ID:
00486491
Vues:
13
Erik, thnaks again for your help.
I'll give what you suggest a try.

regards,

Gerard



>>Erik,
>>Thanks for your reply.
>>
>>I dont know what the code is going to be until Runtime, so I cannot pur them into a class beforehand.
>
>So a variations on my second suggestion might work: build a single class that calls a named function (say Validate) in its valid method. At runtime, grab the code from your memo field, write it to a file wrapped in FUNCTION Validate/ ENDFUNC, compile that file, and SET PROC TO your new file. Then your class will call that function in its valid.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform