Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Property get erased when form is converted to class
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00119885
Message ID:
00120106
Vues:
26
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform