Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pictures in Listboxes
Message
De
15/12/1999 05:32:21
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Pictures in Listboxes
Divers
Thread ID:
00303939
Message ID:
00303939
Vues:
64
Having waded into the murky waters of pictures in listboxes, I've hit a snag. If I change the picture of a list item interactively all is well using the following code:

cPicture = "picture.bmp"
Thisform.Listbox.Picture[Thisform.Listbox.ListIndex] = cPicture

But if the form loses the focus and then regains the focus, the item's picture reverts to its previous state. Has anyone hit this and found a way around it?

I'm on VFP 5.0

TIA,

Dale
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform