Skip to content



This component allows to display a native menubar when the application is launched. Creating a TElectronMainMenu and adding TElectronMenuItems to it is similar to VCL's TMainMenu. TElectronMainMenu should be used in the main form only.

Designtime Runtime

Updating a TElectronMainMenu

Due to an Electron limitation, it's not possible to update a menu dynamically. This means the menu needs to be recreated and reassigned to the window after each modification. To make this procedure simple, just call the following line after modifying a menu: