Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass a private array to a form for manipulation
Message
From
15/12/2003 10:36:57
 
 
To
15/12/2003 10:29:38
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00859112
Message ID:
00859116
Views:
13
>How to pass an private array to a form for manipulation and get the manipulated array back?
>
>One way would be to pass the name of the array. Another way a wrapper procedure calls the form, so the form knows the name of the array. Is there a neater way?
>
>TIA,
>
>Alex
You can only 'return' stuff from a modal form. I think 7 allows you to return arrays, but it is kinda of flaky.

The best bet is to pass an object with an array property in it. This won't require a 'return' since objects are passed by reference.

Or, your form could have an array property in it, you could copy the array to the forms array proerty, then copy it out.

You could also just create a private array variable, call the modal form which would have access to the private variable.

Lot's of options.

BOb
Previous
Reply
Map
View

Click here to load this message in the networking platform