Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you pass an array to a form?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00124072
Message ID:
00124260
Views:
26
Dave,

>>You'll have to copy the array to a form property in Init() but there isn't a very good way to copy the result back.

>you could also create the form as an object and make the array a property

There isn't a very convenient way to get the data back out of the form array property to the caller's array. You'd have to get the array name passed and use that. I just think it's much cleaner to use an interface object that both caller and form can easily access its properties.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform