I have an IMG as a resource and Im wondering how to how it with a button?
Printable View
I have an IMG as a resource and Im wondering how to how it with a button?
In future, please assume that a single sentence is NEVER enough to provide a FULL and CLEAR description of your problem. For a start, do you mean you want to display the image on the Button or you want the use to click the Button and have image displayed somewhere else? If it's the latter then where do you want the image displayed. Also, how exactly did you add this resource in the first place? Was it added on the Resources page of the project properties? If not then accessing it is not quite so simple.
Please take the time and make the effort to provide ALL the relevant information in your first post, so we don't have to guess or make assumptions, possibly wasting everyone's time with irrelevant solutions.
I want a button to show an IMG thats already saved as a resource.
That is STILL an inadequate description. Did you read what I posted? I asked you two questions and you have failed to answer either of them. We could guess exactly what you want and we might even be right but then we might be completely wrong too, and then we've wasted our time and yours.
The second oneQuote:
For a start, do you mean you want to display the image on the Button or you want the use to click the Button and have image displayed somewhere else?