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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

loading a picture in a flexGrid control

Status
Not open for further replies.

clydejones

Programmer
Jan 11, 2001
153
US
Hi,

I'm trying to load a picture in a flexGrid control using the following code:
MSFlexGrid1.Picture = LoadPicture("a:\\imageA01.gif")

The error I'm getting is invalid use of property. I don't understand. Any help would be appreciated.

Cldye
 
I found some code. I was close, but no cigar. The code is:
Set msFlexGrid1.CellPicture = LoadPicture("a:\\imagea01.gif"). Eventhough this loaded the picture, the cell size was not big enough to show the picture. I'm hammering on that right now

Clyde
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top