Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding objects with validation programmatically
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00767882
Message ID:
00767887
Views:
17
Hi Tom,

Look at AddObject () or NewObject () to add a new control in the form. The control you add should be a class that can read the validation rule and validate it at runtime.

HTH

>I have a form to which I want to programmatically add some objects, based on a configuration table. My table specifies information about the object, including an expression for validation.
>
>How can I add my object programmatically to the form and specify a validation rule for it?
>
>I'm sure this must be simple and I'm missing something obvious. I did it in FP2.6.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform