Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One class, two behaviors
Message
De
08/09/1998 18:55:12
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
One class, two behaviors
Divers
Thread ID:
00134266
Message ID:
00134266
Vues:
66
I have a combobox that is in a container object. The cbo's rowsourcetype is array and it's rowsource is a property of the container. When I drop the container on an .scx form, it works fine. When I drop it on a .vcx form and instantiate it, the drop down only displays the first item in the list, even though Container.alistsource[] has been populated. I make no changes to the container object in either the form or the form class.

When the container is instantiated in the form , the Watch window of the debugger displays Container.alistsource array with a plus sign next to it and it can be expanded to view the contents of the array. When the container is instantiated in the form class, the Watch window of the debugger defines Container.alistsource as an array, but there is no plus sign and it cannot be expanded. Although I can put the the array variable in the Watch window with subscripts and access the various values.

Any ideas as to why this behavior might be different in the two instances? It must be environmental in some way, but I've run out of ideas for places to look.

TIA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform