Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a Method from an inactive form
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00512457
Message ID:
00512559
Views:
7
Hi!

In addition to what Erik said, you can scan all forms in the memory:
for i=1 to _screen.FormCount
  if type(_screen.Forms(i).Name)=='C' AND _screen.Forms(i).Name='MyHiddenFormName'
    _screen.Forms(i).MyMethod()
    exit
  endif
endfor
HTH.

>I want to use a method from an inactive form. How do you I call this method from a PRG file?
>
>Thanks.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform