Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

msflexigrid to display pic from imagelist 1

Status
Not open for further replies.

Dapper

Programmer
Nov 2, 2003
74
0
0
GB
Hi I am trying to load a pic from a control image list

I have tried this

set nameofgrid.cellpicture = loadpicture = imagelist.index = 1

what am I doing wrong or is there an easier way.

cheers

dapper
 

dim index as integer
index = 1
Set nameofgrid.CellPicture = imagelist.ListImages.Item(index).Picture


Mark

"You guys pair up in groups of three, then line up in a circle."
- Bill Peterson, a Florida State football coach
 
this works great

thanks better give you star
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top