Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a method contained in another Form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00959744
Message ID:
00959748
Views:
6
No. If You call the method like this: Form1.MyMethod()
But Yo can do this:
DO Form1 NAME loForm1 LINKED NOSHOW
loForm1.MyMethod()
loForm1 = NULL
RELEASE loForm1
>Is is possible to call a method contained in another form from a second form e.g.,
>from within form2 call from1.method()? When I tried to run form2 in design mode, I got the error "form1 is not an object".
>Will it work in .exe mode?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform