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

Click here to load this message in the networking platform