Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem in calling Usermade Form's Method
Message
 
To
23/06/1999 00:46:07
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00232828
Message ID:
00232879
Views:
21
>I am working on VFP 6.0.
>In that I have made a new method for a form for printing a
>Report Heading.
>If I want to call this method then I can call it with the
>command "Formname.methodname" it works perfectly.
>But I want to call this method with "On Page" method which
>gives me Error.

In addition to what John said, you can use ON KEY LABEL and directly refer to a form's PEMs if you launch the form with a NAME clause...for your case, it would be

DO FORM formname NAME formname

then

ON KEY LABEL somekey formname.methodname()

I'm thinking if it works for ON KEY, it should work with ON PAGE also...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform