Forum > Third party



This is unit, it works on Windows Vista+ only (it doesn't do anything on older Windows).

It gives the procedure to make the form's title - dark.

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---procedure ApplyFormDarkTitle(AForm: TForm; ADarkMode: bool; AForceApply: bool); Param AForceApply was needed for my app, you can always pass True here.
With value False my app cannot make the title dark - after restoring from the full-screen mode (Win10 resetted dark style to white style).

Hello Alex
Can you share an screenshot?

Here it is
(the Win32MenuStyler also works here for the MainMenu)

Cuda is looking very cool with these colors! Well done Alex.


[0] Message Index

Go to full version