Win32MenuStyler
From Lazarus wiki
Jump to navigationJump to search
About
This is helper unit win32menustyler, which helper to theme TMainMenu for Lazarus Windows apps. Sometimes app has dark theme, so it's needed to make TMainMenu also dark.
Usage:
- add "uses win32menustyler"
- in form's OnCreate, call
procedure TForm1.FormCreate(Sender: TObject);
begin
MenuStyler.ApplyToForm(Self);
end;