Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scoping of Variables
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00011488
Message ID:
00011683
Views:
34
>>>I will apreciate any sugestion, thanks in advance.
>>>>P.S. This is driving me nuts.
>>>
>>>pass the array by reference.
>>Thanks dave, but I did that, let me explain you what I have
>>in detail, maybe you can give me an idea. I vave this
>>array aMyArray(1), at the beginning it is empty, I set
>>my UDFPARMS TO REFERENCE as you mentioned, then I call
>>the form with DO oMyform WITH aMyArray, I receive the
>>array in a PARAMETER at the init method of the form,
>>I store that value in a property of that form,
>>this works fine to use the values of that array
>>in all the methods and procedure of that form, but if
>>I want to change the size of aMyArray like
>>DIMENSION aMyArray(4), and store new values in it to
>>keep that values after releasing the forms I can't do it,
>>in 2.6 this is really easy, I don't see why in the new version
>>they don't let you do that, the only way that I seems to
>>do it is making my form compatible with the ugly foundation
>>read setting my window type to READ MODAL.
>>Thanks anyway for trying to help.
>
>try 'wrapping' it in a program. base form calls program which calls oMyform. in the program, declare private array(s). copy original array into private array and pass private array. when oMyform is exited, control will be here. take the array(s) and update the originals. release oMyform and you're set...
Thanks again dave, I did that and didn't work, I'm going to post the
message again in the troubleshooting section and see what happen.
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform