Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Properties or Form Collection
Message
 
 
To
06/06/2009 04:30:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01313565
Message ID:
01404303
Views:
71
>>Tore,
>>
>>Can you elaborate a bit on this idea?
>>
>>local loParameter
>>loParameter = createobject('parameterX')
>>loParameter.AddProperty('arrRecords[1]')
>>do form myForm with loParameter
>>
>>thisform Init
>>
>>lparameters loParam
>>thisform.oParam = loParam
>>
>>Somethere in the form we set the properties
>>
>>would the new array be available this way after we close the form?
>>
>
>Yes.
>
>>Also what should we do with the reference in the form? Or should we return the object back?
>
>No need, because it's a "reference type", i.e. m.loParameter and Thisform.oParam are references to the very same object in the "heap".
>So that whenever you assign content to any of the properties of Thisform.oParam, then the corresponding m.loParameter property immediately contains the same value.
>
>
>
>hth
>-Stefan

Thanks, I'll try it.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform