Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I include icon file automatically ?
Message
From
23/06/2004 13:17:24
 
 
To
23/06/2004 01:14:34
Larry Long
ProgRes (Programming Resources)
Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00915262
Message ID:
00916517
Views:
9
Hi Larry,

Found my own answer.

I use the External File 'myImage_2.ico'

When I first add a class to a project, the build project will find the external file command.

If I add a new icon file to a class already in the project, I just "recompile all files" when I build the project. Don't know why the ordinary build doesn't find it.






>I just tried it by creating a vcx file and put "EXTERNAL FILE Myfile.ext" in the init method of the class. It added the file to the Other Files section of the projct when I rebuild. Perhaps you need to specify the full path name of the icons.
>
>HTH
>
>>I'm using VFP 7.0
>>
>>I have an image control in a class that has it's picture property changed in code.
>>
>>The image control automatically adds the image file that is originally assigned to it, but I can't get the other's added.
>>
>>How can I get the class to include all the image files in a project when I drop the class in a project?
>>
>>I've tried external file myImage_2.ico, but it doesn't work.
>>
>>TIA
Bill Morris
Previous
Reply
Map
View

Click here to load this message in the networking platform