Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Images on buttons disappear
Message
De
09/03/2006 17:38:23
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
01102909
Message ID:
01102941
Vues:
15
>I have a form, I drop an imagelist on the form and put 2 images into it.
>
>I drop two command buttons on the form, and I set the imagelist of the buttons to the form's imagelist. I set the image of the two buttons.
>
>I see the image on the design surface, but when I run the app, the images are not visible.
>
>The images are included in the project, but not as a resource.
>
>Any ideas?
>
>Thanks,

Ric,

The executable is run from the bin folder which is a different relative path to the original image files. If the images will not be included in the compiled exe, you will have to make allowances for the path difference in your code.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform