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:
00120101
Vues:
28
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform