Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem in calling Usermade Form's Method
Message
De
23/06/1999 14:15:37
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00232828
Message ID:
00233097
Vues:
25
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform