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

icon added but not visible

Status
Not open for further replies.

Gerrit Broekhuis

Programmer
Aug 16, 2004
316
NL
Hi,

I added a default icon for my application by selecting the main program (start.prg), select Project Info --> Project --> Attach Icon. I added the icon (32x32 pixels) and it is shown in the small preview box. I'm using VFP8 SP1.

After compiling the icon is not visible in the upper left of my application screen.

What am I overlooking?

Regards,

Gerrit
 
sorry to ask what may be the obvious - but have you added it as the form icon?
mrF
 
pa33avjj

I added the icon (32x32 pixels)
According to the help file.

If you want to display your own icon, create an icon (.ico) file with two images: one small (16-by-16) and one standard (32-by-32). Create both images as 16-color icons.




Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Gerrit,
You need to add just one line of code in your startup (main?) .PRG.
Code:
_Screen.Icon = "MyApp.ICO" && same as you attached to the Project

Note: You'll also need to include this icon file in the Project or provide it with your app's installation.

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top