Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I include icon file automatically ?
Message
De
23/06/2004 13:17:24
 
 
À
23/06/2004 01:14:34
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00915262
Message ID:
00916517
Vues:
8
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform