# strange display behaviour in tabpanel on Smart Client

**URL:** <https://forum.servoy.com/t/strange-display-behaviour-in-tabpanel-on-smart-client/20128>\
**Category:** Classic Servoy\
**Created:** [November 28, 2019, 5:16pm UTC](https://forum.servoy.com/t/strange-display-behaviour-in-tabpanel-on-smart-client/20128 "2019-11-28T17:16:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tgs](https://avatars.discourse-cdn.com/v4/letter/t/f19dbf/32.png) [@tgs](https://forum.servoy.com/u/tgs)\
**Post date:** [November 28, 2019, 5:16pm UTC](https://forum.servoy.com/t/strange-display-behaviour-in-tabpanel-on-smart-client/20128/1 "2019-11-28T17:16:18Z")

</div>

Hi,  
since I have created a new form (list view) and added as related tab to an existing tabpanel, I get this strange display behaviour:

If I create a new related record with the “+” button:  
[attachment=2]sped\_pic\_2.png[/attachment]  
The tabpanel displays a screenshot from the main form??

Now I have loaded a picture into the media column:  
[attachment=1]sped\_pic\_4.png[/attachment]

And when I delete the record:  
[attachment=0]sped\_pic\_6.png[/attachment]

Never before I had this strange behaviour and I have no idea where it comes from.  
All other tabs and tabpanels (related) are working as they should do.

If I change the (main)record and/or the tab the display disappears.

Servoy 7.4.11  
Win 10  
Java 8 several versions tried

Does anybody have an idea how I can fix this?

Best regards

 ![sped_pic_6.png](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/2/22d51d64f857a33a7fd5e3e2d4e10b8f599ba02e.png)

 ![sped_pic_4.png](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/9/9812d112e6847e4f1132c1acdf34ff2bd74d2773.png)

 ![sped_pic_2.png](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/0/0cf31b18fa2a8122478fb5d7d783aacb73d13576.png)

---

<div class="post-metadata">

**Author:** ![tgs](https://avatars.discourse-cdn.com/v4/letter/t/f19dbf/32.png) [@tgs](https://forum.servoy.com/u/tgs)\
**Post date:** [November 28, 2019, 7:37pm UTC](https://forum.servoy.com/t/strange-display-behaviour-in-tabpanel-on-smart-client/20128/2 "2019-11-28T19:37:17Z")

</div>

I have now detected that this problem occurs because of a set style.  
This is my style:

```auto
form, odd, even, selected {
	background-color: transparent;
	color: #000000;
}

form odd {
	background-color: #FFFFFF;
}

form even {
	background-color: #f1f5fa;
}

form selected {
    background-color: #808080;
    color: #FFF;
}

form.alternate odd {
	background-color: #FFFFFF;
}

form.alternate even {
	background-color: #e0e0e0;
}

form.alternate selected {
    background-color: #88c4ff;
    color: #FFF;
}

form.alternate1 odd {
	background-color: #ffffff;
}

form.alternate1 even {
	background-color: #ffffff;
}

form.alternate1 selected {
    background-color: #ffffff;
    color: #FFF;
}

form.alternate2 odd {
	background-color: #ffffff;
}

form.alternate2 even {
	background-color: #ffffff; /*#f1f5fa;*/
}

form.alternate2 selected {
    background-color: #e0e0e0;
    color: #000000;
}

```

Is anything wrong with it?  
I use this on many other forms without any problems.

Best regards
