Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-07

MenuItem's new methods

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Alexey

Ondrej, thanks for adding this.

Pls tell: is it possible to make MenuItems themes (application wide in all menus, or MainMenu)? this needs global OnDrawItem which will be used by LCL. Can you add it?

Regards, AlexeyT

Reply by email

Ondrej Pokorny
to Alexey
Alexey wrote
Pls tell: is it possible to make MenuItems themes (application wide in all menus, or MainMenu)? this needs global OnDrawItem which will be used by LCL. Can you add it?

For this you have the methods in TPopupMenu/TMainMenu. You should be able to link your global events there.

Ondrej

Reply by email

Alexey
to Ondrej Pokorny
For this you have the methods in TPopupMenu/TMainMenu. You should be able to link your global events there.

Change of each PopupMenu +MainMenu is not nice: theming of all menus at once in nicer, global option. If app does theme for main menu, why not to change other popupmenus.

Regards, Alexey

Reply by email