Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing a form's property to a UDF
Message
From
29/10/2003 10:02:44
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00844074
Message ID:
00844075
Views:
17
>=ACOPY(thisform.myproperty, laarray)
>=myfunction(@laarray)
>=ACOPY(laarray, thisform.myproperty)
>
>but I'm asking myself if this is the right way to do the job and if there are other way to have this done.
>Thanks
>
>Franco

IMNSHO, this is the best way to do this. Just don't forget to redim the array property if necessary, as the program could have changed the array size.

The other way to do this would be to pass in a reference to the form itself, but then the program wouldn't be as generic.
Insanity: Doing the same thing over and over and expecting different results.
Previous
Reply
Map
View

Click here to load this message in the networking platform