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!

Want Co. Logo To Show Aways On Background Screen 1

Status
Not open for further replies.

Stagmotor

Programmer
Dec 8, 2000
10
US
Upon opening Visual Foxpro I need the screen always to have my company logo appear instead of a blank screen.

Isn't there a _system default that allows color change and can I add a bmp file that has my logo? How would I do that?

Thanks
Larry
 
Hello.

Your question have two answers:

1. _screen.BackColor = RGB(whatever you want, check the help file)

and

2. _screen.Picture = "c:\graphics\my killer logo.bmp"

Hope this help.

Grigore Dolghin
 
In answer to your question about wallpapering the background. This is true, it does this automatically.

Another method that you could use is to attach an Imagecontrol to _SCREEN by adding it into a property and showing it (this will have to be done programmatically).

Example
_SCREEN.AddProperty("oImage", .NULL.)
_SCREEN.oImage = CREATEOBJECT('Image')
_SCREEN.oImage.PICTURE = "C:\mylogo.BMP"
_SCREEN.oImage.VISIBLE = .T.

You will have to adjust the size to the _SCREEN.WIDTH and _SCREEN.HEIGHT.

HTH,

Weedz
veld4663@exact.nl
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top