Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to dynamically set Valid etc. Propery
Message
From
18/03/2001 22:35:06
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00486322
Message ID:
00486364
Views:
11
>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.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform