Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with changing an Icon
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00145224
Message ID:
00145272
Views:
30
>Hello,
>
>We are using VisualFoxPro 5.0 at the moment. We created a framework where we use an icon which is named APPL.ICO in our root directory of our project.
>
>This icon is used in several forms which are defined in a class library. At first the icon is perfectly shown in all the forms. Everywhere we defined we had to use the icon it showed the icon.
>
>But we decided to make an application and thus wanted to use another icon. So we decided to create a new icon (exact size and exact color numbers of the original APPL.ICO) which we saved OVER APPL.ICO.
>
>Then the problems started. In every form we created via a class library (createobject) the icon didn't show and it showed the default foxpro icon. BUT! with normal forms (.SCX files) the correct icon did show. Also when we changed the icon of the screen it worked perfectly. We edited the forms in the class library to point to the correct icon file (APPL.ICO) and when we saved it and then opened again it showed the default icon of foxpro and showed (NONE) at the icon name.
>
>We even tried to change the icon of the parent of all forms. But it didn't work and showed the default icon of foxpro again.
>
>When we changed the icon back to the old APPL.ICO file everything worked 100% again. It showed the correct icon (the old one) again everywhere.
>
>We even tried to create a new icon file named TEST.ICO and pointed the parent to that icon. But to no avail.
>
>Is this a bug or are we just missing something?
>
>Thanks in advance for your time!

SOunds to me like a funky pathing issue. What is the path relationship between the vcx of the form class, the scx files, and the ico file, and how does the path to the icon show up in the properties sheet?
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform