Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you pass an array to a Form Class Init method?
Message
From
13/10/1997 22:20:27
 
 
To
13/10/1997 20:17:32
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00054387
Message ID:
00054394
Views:
30
>Anyone know how to do this?
>I can do the following
> do form frmTest with aArray
>But if I try it with a class, VFP returns error
>saying it is not an array.
> obj = crea('frmTestClass', aArray)
>Is there a way to get around?

The proper way is to pass an object. Define that array as an object of the form and pass that object instead.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform