# Inherited bgcolor of a BUTTON no reaction

**URL:** <https://forum.servoy.com/t/inherited-bgcolor-of-a-button-no-reaction/14688>\
**Category:** Classic Servoy\
**Created:** [September 19, 2011, 2:26pm UTC](https://forum.servoy.com/t/inherited-bgcolor-of-a-button-no-reaction/14688 "2011-09-19T14:26:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefanoni](https://avatars.discourse-cdn.com/v4/letter/s/bb73d2/32.png) [@stefanoni](https://forum.servoy.com/u/stefanoni)\
**Post date:** [September 19, 2011, 2:26pm UTC](https://forum.servoy.com/t/inherited-bgcolor-of-a-button-no-reaction/14688/1 "2011-09-19T14:26:58Z")

</div>

if I set the bgcolor of a **inherited** button (programaticaly during runtime), I cant’ see any reaction, but  
if I set (for example) the toolTipText of the same button, I see the new tooltip on the UI.

Is this a bug or any other reasons for

```auto
	...
	...
	var oEl = oFrm.elements	
	oEl.but_such.bgcolor	= '#ff0000' // NOT ok, no different colour to see
	oEl.but_such.toolTipText = 'any Test-Text' // this is working
	...
	...

```

Thank you for help

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [September 22, 2011, 8:51am UTC](https://forum.servoy.com/t/inherited-bgcolor-of-a-button-no-reaction/14688/2 "2011-09-22T08:51:21Z")

</div>

are you sure that the button is not transparent?

---

<div class="post-metadata">

**Author:** ![stefanoni](https://avatars.discourse-cdn.com/v4/letter/s/bb73d2/32.png) [@stefanoni](https://forum.servoy.com/u/stefanoni)\
**Post date:** [September 23, 2011, 7:22am UTC](https://forum.servoy.com/t/inherited-bgcolor-of-a-button-no-reaction/14688/3 "2011-09-23T07:22:05Z")

</div>

Yes, you are right ! This is a double ![:oops:]( "Embarassed") ![:oops:]( "Embarassed")
