# Image as a frame background

**URL:** <https://www.ruby-forum.com/t/image-as-a-frame-background/206454>\
**Category:** wxRuby\
**Created:** [May 1, 2011, 11:14pm UTC](https://www.ruby-forum.com/t/image-as-a-frame-background/206454 "2011-05-01T23:14:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [May 1, 2011, 11:14pm UTC](https://www.ruby-forum.com/t/image-as-a-frame-background/206454/1 "2011-05-01T23:14:21Z")

</div>

I have created a frame, and would like to set an image as it’s  
background. I am using DialogBlocks, and there is some sort of texture  
property where it appears like you can set an image as a packground.  
However, while it looks fine in the preview, when I compile everything,  
the image is not there? Is there any way to get this to work, or a way  
to put buttons and text over images? I am very new to wxRuby and would  
really appreciate the help.

---

<div class="post-metadata">

**Author:** ![teddio](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b3f665/32.png) [@teddio](https://www.ruby-forum.com/u/teddio)\
**Post date:** [May 6, 2011, 12:44pm UTC](https://www.ruby-forum.com/t/image-as-a-frame-background/206454/2 "2011-05-06T12:44:20Z")

</div>

maybe this helps?

[http://web.archiveorange.com/archive/v/HCYBSsylNpdeoDJedVBr](http://web.archiveorange.com/archive/v/HCYBSsylNpdeoDJedVBr)

bye

---

<div class="post-metadata">

**Author:** ![teddio](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b3f665/32.png) [@teddio](https://www.ruby-forum.com/u/teddio)\
**Post date:** [May 6, 2011, 2:20pm UTC](https://www.ruby-forum.com/t/image-as-a-frame-background/206454/3 "2011-05-06T14:20:14Z")

</div>

sorry, it’s a topic from this forum:

[http://www.ruby-forum.com/topic/175627](http://www.ruby-forum.com/topic/175627)

[http://www.ruby-forum.com/topic/182190#new](http://www.ruby-forum.com/topic/182190#new)
