Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Property get erased when form is converted to class
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00119885
Message ID:
00120106
Views:
27
>>Hello to everybody.
>>I have a form, really simple, it has a button and
>>and a List. The list has its "SourceType" to
>>Array, and the RecordSource is a property of the form.
>>I pass an array as a parameter to the form, and then
>>copy that array to the property of the form which populate
>>my list. The problem is, that when I save the form as
>>a class it doesn't work because the property that
>>holds the elements of my array get erased after the init
>>event of the form. Any ideas ?
>>
>>=this.thanks("in advance")
>
>Can you run this through the degugger to see if the array property actually is populated with the values from your passed array? That may actually be the problem. If you step through the process you will be able to tell when/if the array property gets populated, then when/if the property data is lost.

Hi Mark,
I did that. In the init event of the form the array property
is populated, but by the time the init event of the
list is triggered, the array property is empty!!.
This doesn't make sense to me, any other ideas ?
Thanks much.
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