# image click handle

**URL:** <https://forums.fusetools.com/t/image-click-handle/4565>\
**Category:** How-to Discussions\
**Created:** [December 30, 2015, 2:18am UTC](https://forums.fusetools.com/t/image-click-handle/4565 "2015-12-30T02:18:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![bawn](https://avatars.discourse-cdn.com/v4/letter/b/bc8723/32.png) [@bawn](https://forums.fusetools.com/u/bawn)\
**Post date:** [December 30, 2015, 2:18am UTC](https://forums.fusetools.com/t/image-click-handle/4565/1 "2015-12-30T02:18:56Z")

</div>

```auto
<DockPanel>
  <Panel Dock="Top" Height="44" Background="#ffffff" Margin="0,20,0,0">
    <Text Alignment="VerticalCenter" TextAlignment="Center" TextColor="#000000" FontSize="17">Home</Text>
    <Image File="Assets/navIconAddDefault.png" Alignment="CenterRight" StretchMode="Uniform" Margin="0,0,10,0" IsEnabled="true">
      <Clicked>
        <DebugAction Message="Search clicked" />
      </Clicked>
    </Image>
    <Rectangle Height="1" Margin="0,44,0,0" Fill="#B2B2B2" />
  </Panel>
</DockPanel>

```

why can’t handle click event, anyone can help me

---

<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:** [December 30, 2015, 5:49am UTC](https://forums.fusetools.com/t/image-click-handle/4565/2 "2015-12-30T05:49:48Z")

</div>

I’m guessing you’re creating a kind of small button here? It is likely the `Text` on top of the image which is absorbing the mouse event. You could put a `IsEnabled="false"` on that `Text`. (Note that `IsEnabled="true"` is the default, so isn’t necessary on the `Image`.)

Or perhaps you want to put the `Clicked` on the `Panel` so that a click anywhere inside there will work. Mouse events bubble to parents, so this is why clicked on the parent works.

---

<div class="post-metadata">

**Author:** ![bawn](https://avatars.discourse-cdn.com/v4/letter/b/bc8723/32.png) [@bawn](https://forums.fusetools.com/u/bawn)\
**Post date:** [December 30, 2015, 8:16am UTC](https://forums.fusetools.com/t/image-click-handle/4565/3 "2015-12-30T08:16:49Z")

</div>

@edA-qa mort-ora-y

I test just fllow code, also can’t handle event

```auto

<App Theme="Basic">

<Image File="Assets/navIconAddDefault.png" Alignment="Center" StretchMode="Uniform" Margin="0,0,10,0" IsEnabled="true">
  <Clicked>
    <DebugAction Message="clicked" />
  </Clicked>
</Image>
</App>

```

---

<div class="post-metadata">

**Author:** ![Vegard\_Strand\_Lende](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/vegard_strand_lende/32/349_2.png) [@Vegard\_Strand\_Lende](https://forums.fusetools.com/u/Vegard_Strand_Lende)\
**Post date:** [January 5, 2016, 11:37am UTC](https://forums.fusetools.com/t/image-click-handle/4565/4 "2016-01-05T11:37:20Z")

</div>

Hi!

The code in your last post is working on my end. Have you checked in the Monitor if the DebugAction is coming through? Feel free to share your project or the offending code and I can have a look at it 🙂

---

<div class="post-metadata">

**Author:** ![bawn](https://avatars.discourse-cdn.com/v4/letter/b/bc8723/32.png) [@bawn](https://forums.fusetools.com/u/bawn)\
**Post date:** [January 5, 2016, 12:09pm UTC](https://forums.fusetools.com/t/image-click-handle/4565/5 "2016-01-05T12:09:55Z")

</div>

@Vegard Strand Lende

Thanks, I can see log when preview in iOS, preview in Local is unavailable

---

<div class="post-metadata">

**Author:** ![Vegard\_Strand\_Lende](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/vegard_strand_lende/32/349_2.png) [@Vegard\_Strand\_Lende](https://forums.fusetools.com/u/Vegard_Strand_Lende)\
**Post date:** [January 5, 2016, 12:17pm UTC](https://forums.fusetools.com/t/image-click-handle/4565/6 "2016-01-05T12:17:00Z")

</div>

Hmm, okey, if you see the log it means that it is working. For local preview did you check the fuse Monitor? You can launch it from the Fuse Dashboard (Under utilities) 🙂

 ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/8S8wPts9Mtqe-legacy-files-6c7u8650wWyu18Fq-U06cpYgDyxsyXSLcCR8OT8NO.png)

---

<div class="post-metadata">

**Author:** ![bawn](https://avatars.discourse-cdn.com/v4/letter/b/bc8723/32.png) [@bawn](https://forums.fusetools.com/u/bawn)\
**Post date:** [January 6, 2016, 2:04am UTC](https://forums.fusetools.com/t/image-click-handle/4565/7 "2016-01-06T02:04:06Z")

</div>

Thank you for your patience guidance
