Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ico's/small JPG's in a listbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01454679
Message ID:
01454684
Vues:
70
You can set the value of the picture property of the ListBox, for example in the Init of the ListBox you can do something like this
LOCAL lnItem, lcItem

FOR lnItem = 1 TO this.ListCount
	lcItem = this.List[lnItem]
	this.Picture[lnItem] = IIF(lCondition, 'cross.ico', 'check.ico')
ENDFOR
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform