Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AMembers
Message
 
 
À
10/12/2003 07:58:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00857577
Message ID:
00857588
Vues:
19
This message has been marked as the solution to the initial question of the thread.
>Brain must be asleep. Trying to put all a form's methods and properties in an array.
>
>For instance have a form named frmUlo and saved as ULO.SCX/T.
>
>This code them does not work:
>
>=AMEMBERS(gtest,frmulo,1) or does =AMEMBERS(gtest,ulo,1)
>
>Says frmulo or ulo variable not found...what am I doing wrong?
>

Ken,
Is the form running when you execute the command. AMembers only works on object references and class definitions that have been loaded into memory. If the form is non-modal, try something like:
do form ulo.scx name oFormUlo
=amembers(gtest,oFormUlo,1)
HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform