Hi guys
Some examples in Lazarus folder have an old style control.
Is there any option to change and use a modern style for the controls?
I don't want to copy/paste every control and the code to apply mannually the style.
Many thanks guys.
Thats because there is no manifest on these, on Windows starting from XP you need a manifest file to apply themes in the application.
Seems that these projects are older than Windows XP or are old enough when the IDE has no option to enable themes, or just is turned off.
Try in project options menu to add manifest to enable themes, but that must be done for each project. And when you install a newer lazarus, these will be changed again.
To solve this, better issue a bug report in the bugtracker, saying that demo projects does not come with themes enabled under Windows.
Also if you run the application on a monitor with High DPI you will notice it will look badly too, since maybe the High DPI setting is turned off too by default in these old projects...