Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox picture issues
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Listbox picture issues
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01136520
Message ID:
01136520
Vues:
83
I have a listbox on my form with the following properties:
.RowSource = mcategor.desc
.RowSourceType = 6
.Picture = "listbox.bmp"
In the Init of my form I am trying to set the picture value of some of the listbox items to a different image. But when the listbox is displayed, all items are shown with the same default picture.

However, if I change the listbox properties to this:
.RowSource = "One,Two,Three,Four,Five"
.RowSourceType = 1
.Picture = "listbox.bmp"
and then do the same code in my Init, everything works fine and the items I wanted to show up with a different picture.

Can someone tell me 1)Why the listbox won't let me update the image in the form's Init when the RowSourceType = 6 and 2) If there is a workaround for this?

Thanks tons for your help!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform