OFPEC Forum
Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: alimag on 30 Dec 2009, 15:31:17
-
Hi,
Is it possible to display an image/icon on a control button?
If yes, I would greatly appreciate a basic working sample.
Thanks in advance
Cheers
-
Just define the image seperately and add it on top of the button, or make the button clear and use an image as a background. I do not think it is possible to actually define the image within the button class. I could be wrong i haven't tried it. But I have made dialogs with images as buttons by using the image as a background and placing invisible buttons on top of the image.
I will provide a quick example, not sure if it will meet your needs or not.
-
Hi,
Thank you very much for the quick answer.
You might be right about defining the image within the button class.
Very nice workaround and it does the job. I'll take it as a start.
Thanks again
Cheers