Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing a method via a reference in a table
Message
De
22/07/1997 10:22:36
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Accessing a method via a reference in a table
Divers
Thread ID:
00041112
Message ID:
00041112
Vues:
122
I am trying to access a method for which I have a reference to it in a field of a table.
This is done so I can keep all my validation fn's of a page frame driven by
a table for flexibility.



The data in the field is:
do wizard1.fpcommandbutton2._translate WITH _ls_status_i


This is the code I use to access it:
Local _ls_status_i, _ls_Prog_s

* point to the correct record
use (THISFORM._p_verifydbf_s) order pagenum alias genwiz
seek (THISFORM.fppageframesingle1.activepage)

* save data to standard structure (db, struct, inifile)
_ls_Prog_s = genwiz.vermeth1
&_ls_Prog_s

Thanx
Jim Tubridy
tubridja@pb.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform