Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing method within a form...
Message
 
 
To
31/05/2003 20:12:33
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00794925
Message ID:
00794945
Views:
13
If you want to call a method of the form independetly of the form than put code into a separate program/class and call it from the form or anywhere else.

>I'm afraid I haven't been specific. The forms are document-type forms which exist external (stand alone) to the app. Each has a method peculiar to that form, and they can vary from site to site. I want to access that method.
>
>Ideally, I'd like to create an object of the form, i.e. store this to oMyform, and call the method, oMyform.ttlinv, without actually running the form (or it's init), a sort of class on the fly. I know there'll problems with the DE but those can been handled. I've been trying the DEFINE CLASS, CREATEOBJECT route without success. I think it's a matter of getting the syntax right. That's what I need help with.
>
>Luke
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform