View Single Post
  #9  
Unread 10-13-2010, 03:10 PM
Chiran Chiran is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Sep 2010
Posts: 27
Quote:
Originally Posted by D.H1cks
I have to make sure I always set the back color of my control if I change the color of my window.

Have you tried the same?

Edit: Another possible way is: self.toggleButton:SetBackColorBlendMode(Turbine.UI .BlendMode.Undefined);
Edit2: You need to make sure you use self.toggleButton:SetBlendMode(Turbine.UI.BlendMod e.AlphaBlend); at the same time as the above line.
Oh, have to try that. Putting SetBackColor and SetBackColorBlendmode before SetBackground didn't work for me, but didn't try the second suggestion yet. Maybe something is a bit different in the situation, but the result was an all-black control. I guess I'll have to toy with it a bit more. Thanks for all the suggestions so far .

-Chiran
Reply With Quote