# Text, Image,.. used as a "Button" (Clicked="...")

**URL:** <https://forums.fusetools.com/t/text-image-used-as-a-button-clicked/6165>\
**Category:** How-to Discussions\
**Created:** [May 21, 2015, 8:19pm UTC](https://forums.fusetools.com/t/text-image-used-as-a-button-clicked/6165 "2015-05-21T20:19:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andreseku](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@andreseku](https://forums.fusetools.com/u/andreseku)\
**Post date:** [May 21, 2015, 8:19pm UTC](https://forums.fusetools.com/t/text-image-used-as-a-button-clicked/6165/1 "2015-05-21T20:19:56Z")

</div>

Hi,

I want to use a Text, and an Image, as a Button. Is this possible?

In a Button I can use the attribute “Clicked” to start a method/function. How can I realise this with a Text/Image Object?

---

<div class="post-metadata">

**Author:** ![edA-qa\_mort-ora-y](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/eda-qa_mort-ora-y/32/124_2.png) [@edA-qa\_mort-ora-y](https://forums.fusetools.com/u/edA-qa_mort-ora-y)\
**Post date:** [May 22, 2015, 5:08am UTC](https://forums.fusetools.com/t/text-image-used-as-a-button-clicked/6165/2 "2015-05-22T05:08:57Z")

</div>

`Button` is a `Panel` so you can add children to it.

```auto
<Button Text="">
    <Image File="fancy.png"/>
</Button>

```

_Note that the `Text=""` part is a workaround to a minor style defect we have now. This will be fixed so you don’t need that attribute._

`Clicked` is a generic behaviour and can be added to any element:

```auto
<Star Width="50" Height="50">
    <SolidColor Color="1,1,0,1"/>
    <Clicked Handler="OnClicked"/>
</Star>

```
