Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you pass an array to a form?
Message
From
05/08/1998 15:58:03
John Baird
Coatesville, Pennsylvania, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00124072
Message ID:
00124249
Views:
22
>>Jerry,
>>
>>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.
>>
>>On my website is a article using an interface object to pass multiple items to a form.
>>
>>You could also put the array in a temp cursor, bind the form controls to the cursor and select fromt he cursor back to the array.
>>
>>>My problem is that I can't seen a reference to the passed in array in the form except in the form's INIT().
>>>
>>>After I pass in the array, how can I get to it from another object or method in that form?
>
>you could also create the form as an object and make the array a property


I ended up using a parameter object to pass the definitions around. Works great.....
Previous
Reply
Map
View

Click here to load this message in the networking platform