# Setting nUIButtonElement Icon Image

**URL:** <https://techcommunity.softwareag.com/t/setting-nuibuttonelement-icon-image/100274>\
**Category:** Forum\
**Tags:** mobile\
**Created:** [January 9, 2012, 8:56pm UTC](https://techcommunity.softwareag.com/t/setting-nuibuttonelement-icon-image/100274 "2012-01-09T20:56:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emre\_BOYA](https://avatars.discourse-cdn.com/v4/letter/e/a698b9/32.png) [@Emre\_BOYA](https://techcommunity.softwareag.com/u/Emre_BOYA)\
**Post date:** [January 9, 2012, 8:56pm UTC](https://techcommunity.softwareag.com/t/setting-nuibuttonelement-icon-image/100274/1 "2012-01-09T20:56:29Z")

</div>

Hi Team,

Has anyone ever tried setting icon image to nUIButtonElement ?

Even though I can insert an image available in my resource folder to somewhere on screen, it throws out nullpointer exception when I want to put in buttonelement object…

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [January 10, 2012, 3:42pm UTC](https://techcommunity.softwareag.com/t/setting-nuibuttonelement-icon-image/100274/2 "2012-01-10T15:42:25Z")

</div>

Hi Emre,

I believe the icon image in the nUIButtonElement isn’t implemented yet. This concept is being a little superceded by the TableButton concept. As for just clickable images as an alternative, I believe Mark here in the office had been looking at that, although it may not yet be rolled out. Mark - do you have an update on that?

Regards,

Nick.

---

<div class="post-metadata">

**Author:** ![Mark\_Reynolds](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/mark_reynolds/32/37321_2.png) [@Mark\_Reynolds](https://techcommunity.softwareag.com/u/Mark_Reynolds)\
**Post date:** [January 10, 2012, 4:20pm UTC](https://techcommunity.softwareag.com/t/setting-nuibuttonelement-icon-image/100274/3 "2012-01-10T16:20:53Z")

</div>

Hi Nick,

```
Yes, that's right. The expectation is that nUIImageElement will become clickable by calling setTriggerable(true) on it. We've currently got code in the Android and BlackBerry branches for this, with iOS to follow on as soon as possible. 

```

This should become available at the next update.

Regards,  
Mark.

---

<div class="post-metadata">

**Author:** ![Emre\_BOYA](https://avatars.discourse-cdn.com/v4/letter/e/a698b9/32.png) [@Emre\_BOYA](https://techcommunity.softwareag.com/u/Emre_BOYA)\
**Post date:** [January 10, 2012, 5:17pm UTC](https://techcommunity.softwareag.com/t/setting-nuibuttonelement-icon-image/100274/4 "2012-01-10T17:17:14Z")

</div>

Hi Mark, Nick

That’s actually what I found out later on, I’m able to create triggerable image elements by invoking setTriggerable(true), but what I’ve understood from mark’s response is that it’s only being supported by android and blackberry not ios… By saying next update I think you mean Software AG service releases twice in year ? Because it means that if a customer today wants to create a UI which is fully based on Image elements (all clickables), it means that it can only be cross-compiled to android and bb.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [January 10, 2012, 5:29pm UTC](https://techcommunity.softwareag.com/t/setting-nuibuttonelement-icon-image/100274/5 "2012-01-10T17:29:12Z")

</div>

Hi Emre,

No, we weren’t referring to the Software AG release cycle. Apologies for confusion when we discuss such things - prior to acquisition, we had been rolling out to customers small incremental updates to our product 2 or 3 times a week, so we sometimes forget that update / release has a different meaning here in SAG. 🙂 Currently, I’m hoping we’ll be exposing an update some time this week. Moving forwards, we are hoping to have a monthly update cycle for Mobile Designer.

Baseline - we hope to make something available this week, hopefully including iOS.

Regards,

Nick.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:01pm UTC](https://techcommunity.softwareag.com/t/setting-nuibuttonelement-icon-image/100274/6 "2021-04-02T15:01:49Z")

</div>


