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!

Image in form

Status
Not open for further replies.

Phil Thoms

Programmer
Oct 31, 2005
245
GB
Hello,
I wish to insert a JPG image on a form in VFP 6, I've done this many times in a report but not within a form


Thanks
 
Just use the Image object, and set the .picture property = to <path>\imagename. Do this in the form INIT.


Best Regards,
Scott
ATS, CDCE, CTIA, CTDC

"Everything should be made as simple as possible, and no simpler."[hammer]
 
If the image is static (doesn't change at run time), there's an even easier way:

Just drag the image file from any Windows folder and drop it on the form. All the required properties will be set for you, and you're ready to go.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top