Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing method within a form...
Message
 
 
À
31/05/2003 20:12:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00794925
Message ID:
00794945
Vues:
12
If you want to call a method of the form independetly of the form than put code into a separate program/class and call it from the form or anywhere else.

>I'm afraid I haven't been specific. The forms are document-type forms which exist external (stand alone) to the app. Each has a method peculiar to that form, and they can vary from site to site. I want to access that method.
>
>Ideally, I'd like to create an object of the form, i.e. store this to oMyform, and call the method, oMyform.ttlinv, without actually running the form (or it's init), a sort of class on the fly. I know there'll problems with the DE but those can been handled. I've been trying the DEFINE CLASS, CREATEOBJECT route without success. I think it's a matter of getting the syntax right. That's what I need help with.
>
>Luke
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform