Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form's Icon bug?
Message
 
 
To
18/01/2007 20:05:22
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01186770
Message ID:
01186904
Views:
11
>>Hi everybody,
>>
>>I have a base form class where I specified the icon in the format ="myIcon.ico" in the property sheet to avoid pathing problems. The referenced icon is indeed in the SET('path') and the form class is shown properly.
>>
>>I have another form class which is derived from the base form class and the icon property is reset to default (e.g. ="myIcon.ico"). Yet I see VFP standard icon instead and in all forms derived from this class I see standard icon as well.
>>
>>Is it some sort of VFP bug or should I put the icon with the path instead in the base class?
>
>I figured you'd have tried that already :).
>
>I always get paths into .icon and .picture properties, knowing that VFP will actually store them as relative paths - which is then guaranteed to work at runtime, provided these files are included in the pjx.

Yes, using the path works <g> and my icons are now displayed correctly. I had some problems in the past with the full paths, then, say, I put pictures in Graphics folder and they originally were in BMPS folder...

Anyway, thanks a lot to you.

BTW, good tip about including them into pjx, I think, I need to check it.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform