Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I display a bmp next to some ListBox rows?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
How do I display a bmp next to some ListBox rows?
Divers
Thread ID:
00117892
Message ID:
00117892
Vues:
65
The foxpro online documentation uses MyListBox.picture as an array, which VFP wont allow. The sample code does not seem to work. Also, help does not list ListBox as a control that supports the picture property, even though it appears on the property sheet.

This code: MyList.picture = "pic.bmp"
results in a picture next to every row.

I also tried using a two column listbox with the bmps stored in general fields. The result was the word "Gen" appearing in the listbox.

References such as Mylist.picture(2) result in an error.

Setting the picture to MyTable.BmpField wont work either.

Is it really possible to put a picture next to some rows of a listbox?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform