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

tile background gif

Status
Not open for further replies.

LindaRichard

Programmer
Feb 23, 2001
103
CA
I have a gif of a notebook which is from a web page.
I would like to tile this gif from top to bottom on my form.
I want it to appear as a background behing my controls.
Any suggestions on how I can do this.

Thanks
Linda
 
In you main program use:

_SCREEN.PICTURE = "C:\myNoteBook.gif" Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Linda,
In the Property sheet of the form just pick the image for the Picture property, or set it in the Form's INIT() code. The file types allowed depend on the version of VFP - 8.0 allows most anything! Note: The image will always be tiled - there's no choice on this.

One other way would be to put an Image control on your form and make it's zorder behind all the other controls. This would allow you more control than the Form's Picture.

Just remember that if you plan on distributing your application, that you must actually have the "right" to use any picture you get from the web. Many pictures are copyrighted and you have to pay the owner if you use them for more than your "personal" viewing.

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top