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:
00120101
Views:
30
>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.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform