[Lazarus] MenuItem's new methods

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Lazarus] MenuItem's new methods

Free Pascal - Lazarus mailing list
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

--
_______________________________________________
Lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Lazarus] MenuItem's new methods

Free Pascal - Lazarus mailing list
On 20.07.2017 11:57, Alexey via Lazarus 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

--
_______________________________________________
Lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Lazarus] MenuItem's new methods

Free Pascal - Lazarus mailing list

> 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

--
_______________________________________________
Lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Loading...