Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Listbox This.Value loses value in Class
This is driving me nuts.
I have a ListBox on a form. Its RowSource is an array of character values. Its BoundTo is .T.
When I run the form it works fine. I then save a bunch of controls on the form, including the ListBox, as a class. I then replace the controls with the class.
Now when I run the form, the ListBox display the correct values but the Value property of the ListBox is equal to a numeric 0 when I scroll or select any of the items in the list.
If I remove the listbox from the class and then manually place the same listbox (cut and paste) in the class container as part of the form it works fine.
Any ideas?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement