Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use an oApp object
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How to use an oApp object
Miscellaneous
Thread ID:
00467798
Message ID:
00467798
Views:
48
I have an application object which I have a routine in to do screen validation

In my screen , in the valid of my Save Button I do
oApp.MyValidate

In oApp.MyValidate i have code which checks form properties
e.g. If ThisForm.Myproperty = 'Abc' .....

but i get a 'object is not contained in a form' error message

I had this code originally in a Form Base Clas method (and it worked fine) but took it out and put it into my Application object to make it more OOP, so that I could use the same code from other parts of the application.

Are there certain things you cant do from an App object or have I missed
something in the coding.

Regards,

Gerard
Next
Reply
Map
View

Click here to load this message in the networking platform