Quantcast
Channel: SCN : Discussion List - SAP PowerBuilder
Viewing all articles
Browse latest Browse all 286

Can not change TabBackcolor on Tabpage

$
0
0

Hello,

I have a problem setting the tabbackcolor property of a tabpage.

 

Here is the code I am using in the selectionchanged event:

 

ll_tabcount = upperbound(this.control)

 

if oldindex > 0 and oldindex <= ll_tabcount then

  this.control[oldindex].tabbackcolor = RGB(163,202,240)

end if

 

if newindex > 0 and newindex <= ll_tabcount then

  this.control[newindex].tabbackcolor = RGB(100,165,230)

end if

 

I also tried to use a button to set the tabbackcolor of the selected tabpage.

But it makes no difference.

Setting the color via painter also doesn't work.

 

I migrated a project from Powerbuilder 10.5.1 to Powerbuilder 12.6 Build 4058.

Setting the tabbackcolor in Powerbuilder 10.5.1 works like a charm.

 

Any help or workaround would be nice.

 

Thanks in advance.

 

 

Please don't tell me to switch Windows Classic Design. There is no Classic Design in Windows 8 and 10.

 

AND this is definitly not expected behaviour, it's a BUG !!!

 

Message was edited by: Ronny Schwierzinski


Viewing all articles
Browse latest Browse all 286

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>