Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing Thisform.aMyArray by reference
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00261669
Message ID:
00262406
Views:
20
Roi,

This would be much easier and cleaner, pass a reference to the object instead;

DO FormB WITH Thisform

In the formB Init you can;

LPARAMETERS poForm
Thisform.oForm = poForm && oForm is a custom property of the form.

Then anywhere you like within FormB you can;

Thisform.oForm.AArray(1,2) = "ABC"

And this gives you access to all the properties of FormA within FormB
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform