TPageControl has wrong background color when created in dll lazarus / 31-LCL ---------------------------------------------------------------------- isml · 2018-09-06 14:29 When created in a normal application, TPageControl has white background color, but when created in dll, the background color is grey. Attachment is a test project that could produce this problem. ---------------------------------------------------------------------- balazsszekely · 2018-09-06 14:51 I tested with my plugin library, looks white to me. Please test attached project. ---------------------------------------------------------------------- isml · 2018-09-07 02:11 Quote from: GetMem on September 06, 2018, 04:51:30 pmI tested with my plugin library, looks white to me. Please test attached project. Thanks for your reply. I tried your project, it is ok. I think the main difference is that in your test project, TPageControl is in a TFrom in the dll. Could you test my attached project? Thanks. ---------------------------------------------------------------------- taazz · 2018-09-07 04:34 Quote from: isml on September 06, 2018, 04:29:32 pmWhen created in a normal application, TPageControl has white background color, but when created in dll, the background color is grey. Attachment is a test project that could produce this problem. It will not work. The dll application and the Exe application are two distinct classes. getmem has the right idea a bit sketchy using the fPluginForm variable but that is easily solved.