Is there any style manager for Lazarus lazarus / 31-LCL ---------------------------------------------------------------------- tr_escape · 2013-04-26 06:11 Hello everyone, I wondering is there any component style changer for Lazarus? In delphi xe2 and above you can change your form style in runtime. I am looking for a component pack or library for this operation I added a sample created with xe3 in attachment Thank you ---------------------------------------------------------------------- howardpc · 2013-04-26 07:49 The closest the LCL comes to this that I am aware of is offered in the (beta status) Custom Drawn control package which is incomplete but slowly growing. See http://wiki.lazarus.freepascal.org/Lazarus_Custom_Drawn_Controls This offers DrawStyles such as Android, MacOSX, WinCE etc. Contributions to help flesh out the missing parts would be welcomed. Otherwise the LCL is based on native OS widgets which restricts style changes largely to OS-controlled visual alterations such as themes. ---------------------------------------------------------------------- marcov · 2013-04-26 08:21 I'm not sure that this is customdrawing. It might be Windows theming. ---------------------------------------------------------------------- taazz · 2013-04-26 08:42 XE2 and above have the code from ksdev buy out so it is a bitmap based theme engine so yeah you can say it is custom drawn at this point. ---------------------------------------------------------------------- Graeme · 2013-04-26 09:33 Quote from: tr_escape on April 26, 2013, 08:11:36 amI wondering is there any component style changer for Lazarus? In delphi xe2 and above you can change your form style in runtime. The general consensus in Lazarus is that it is frowned upon to change your applications to suit your needs. They want you to always adhere to the OS theme. So what you want is probably not possible with LCL. I consider that mentality crazy, and why I started fpGUI years ago! Your alternative would be to take your chances with the LCL- CustomDrawn widgetset, but that is still years away from being usable in the real-world. ---------------------------------------------------------------------- vfclists · 2013-04-26 12:23 Are you drawing/tempting Felipe into this thread? I've ordered 2 big bags of popcorn!! Quote from: Graeme on April 26, 2013, 11:33:15 amYour alternative would be to take your chances with the LCL-CustomDrawn widgetset, but that is still years away from being usable in the real-world. ---------------------------------------------------------------------- tr_escape · 2013-04-26 12:40 Quote from: Graeme on April 26, 2013, 11:33:15 amQuote from: tr_escape on April 26, 2013, 08:11:36 amI wondering is there any component style changer for Lazarus? In delphi xe2 and above you can change your form style in runtime. The general consensus in Lazarus is that it is frowned upon to change your applications to suit your needs. They want you to always adhere to the OS theme. So what you want is probably not possible with LCL. I consider that mentality crazy, and why I started fpGUI years ago! Your alternative would be to take your chances with the LCL- CustomDrawn widgetset, but that is still years away from being usable in the real-world. Actually i installed the fpgui yet and i tried it with udesigner project. It is ok working and there nice components in it but you we have got console screen on the background. Maybe you should change to like as kol-ce pack because generaly develeopers are likes the component movements on the form. Also i'll try custom drawn pack in windows. Thank you all your answers ---------------------------------------------------------------------- cybermonkey342 · 2013-04-26 13:22 Quote from: tr_escape on April 26, 2013, 02:40:26 pmActually i installed the fpgui yet and i tried it with udesigner project. It is ok working and there nice components in it but you we have got console screen on the background. Maybe you should change to like as kol-ce pack because generaly develeopers are likes the component movements on the form. Also i'll try custom drawn pack in windows. Thank you all your answers Try adding Code: [Select]{$apptype gui} into your code and the console vanishes. ---------------------------------------------------------------------- marcov · 2013-04-26 13:50 Quote from: taazz on April 26, 2013, 10:42:58 amXE2 and above have the code from ksdev buy out so it is a bitmap based theme engine so yeah you can say it is custom drawn at this point. XE2 and above support both the VCL AND the customdrawn monkeybusiness. Skinning also changed for VCL with XE3, due to VCL styles: http://docwiki.embarcadero.com/RADStudio/XE3/en/VCL_Styles_Overview ---------------------------------------------------------------------- Graeme · 2013-04-26 16:40 Quote from: tr_escape on April 26, 2013, 02:40:26 pmIt is ok working and there nice components in it but you we have got console screen on the background. As cybermonkey34 said. It is not a fpGUI issue, but rather you compiling a Windows application, but you didn't tell the compiler it is a GUI application - thus the console is created for you [which is handy for debugging ]. To get rid of the console, compile your project with -WG compiler option, or add {$apptype gui} in your program unit.