Information générale
Catégorie:
Contrôles ActiveX en VFP
Titre:
Objects are listed twice in Listview Control
I'm using a listview control on a form. I want to list some samples of "BMP" files so that the user can select from them. However, my problem is that I load the bitmaps into an imagelist and assign it to the "icons" property of the listview. I then add each one of the bitmaps to the listview. My result is that the listview displays first a list of the bitmaps file names without the bitmaps themselves and then it displays an additional list showing the bitmaps. (this is a double list). Can anyone tell me why this is happening and how to fix it? Thanks.
MEH
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