Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AMembers
Message
 
 
To
10/12/2003 07:58:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00857577
Message ID:
00857588
Views:
17
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform