Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ico's/small JPG's in a listbox
Message
 
To
15/03/2010 17:30:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01454679
Message ID:
01454684
Views:
69
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
Previous
Reply
Map
View

Click here to load this message in the networking platform