[solved] TSplitter in a PageControl lazarus / 31-LCL ---------------------------------------------------------------------- fpcoder · 2013-12-09 21:58 Hi, I have a Treeview and a ListView inside a PageControl. Between them I need a TSplitter. Now to my question. The color of the TSplitter gets the same color as the PageControl background whatever I do. Except for the gripper-dots the splitter is invisible and the color cant be changed from the object inspector even if ParentColor := false. Changing the color at runtime has no effect either. Is this a bug, or is it just me doing something wrong? I have Lazarus build 43490 and FPC 2.71 Thanks for any help ---------------------------------------------------------------------- kpeters58 · 2013-12-09 22:30 I believe that this is just another issue with the pagecontrol component and themes (see the many posts around people wanting to set its color). If you try the splitter on, say, a form splitting two panels, you will find that it's perfectly capable of accepting a color. So the solutions proposed for color setting on TPagecontrol should also apply to your issue. ---------------------------------------------------------------------- Avishai · 2013-12-09 23:26 You can put a TPanel on the TTabSheet and align it alClient.  Make the TPanel the Parent of your controls.  Then you should be able to set the color as you want. ---------------------------------------------------------------------- fpcoder · 2013-12-12 17:28 Yes, the TSplitter can change colors fine, except when its dropped on a PageControl. So it had to do with themes and is probably not a problem in Linux. Then I found Avishai's method of disabling Themes for the PageControl in an old thread. That worked. Thx!