Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Picture path
Message
De
16/02/1999 16:01:59
Rene De Montbrun
Customer Contact Inc.
Toronto, Ontario, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00188107
Message ID:
00188117
Vues:
36
>Hello
>
>Sorry for so basic a question, but I'm interested in your opinion.
>
>I wanna set a picture onto a command button.
>
>I use... its picture property!
>
>But this property only admits the name of a .BMP file with its relative/absolute path. I'm unable to write only the file name, even with a PATH SETting to the location of this picture.
>
>Then I can i.e. create a sub directory of my default directory dedicated to graphics.
>
>Yet, I'd rather use a built-in-the-EXE graphic file.
>
>How can I include the .BMP into my .EXE and use it, and how can i avoid to create a 'graphics' subdirectory?
>
>May I expect that the commandbutton will load the .BMP from the .EXE if it doesn't find any 'graphics' subdirectory? But I would be surprised of such a behaviour when The picture path is hard-coded.
>
>An answer?
>
>Regards
>
>Philippe

Hi Philipe,

The relative/absolute pathname of the graphic file is used at design time so that the compiler can locate it and include it in your EXE. When you create a project and use graphic files they are INCLUDED automatically into your project. When you compile your project the files are bound to your EXE. This way when you distribute your EXE you won't have to distribute any graphic files unless you explicitly EXCLUDE them from your project.
Rene de Montbrun
Toronto
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform