Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem in calling Usermade Form's Method
Message
From
23/06/1999 14:15:37
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00232828
Message ID:
00233097
Views:
24
Hi Bruce ---

I was avoiding the NAME clause because then you get into trouble if you have multiple instances of a non-modal form. :-)


>>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...
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform