One method is to executable the following code
do form Form1 noshow. This will run the form without displaying.
?Form1.PrintMe I created a method called Printme which prints some text.
Ideally, you should move the code from the form into a class or prg. It sounds as if this form method has muliple uses. If this is the true, I would move the form method into a class and update the form to call the newly created class.
>I want to use a method from an inactive form. How do you I call this method from a PRG file?
>
>Thanks.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only