B4J Library Menubar extended

Name: GBEMenubar
Version: 1.0
Language: B4J
License: Royalty free
(C) icons Royalty free from icons8.com

Thank you for the Basic Ideas of some Forum Members who published the code snippeds of:
ShortCut (Daestrum) and setMenuIcon (tchart clickable Title).

The B4J Menubar with extende features:
1759350356976.png


  • Custom View for Designer
  • Customizable MenuBar GUI/Properties.
  • Load Menustructure form File and build Menus and MenuItems.
  • No need to build Menus/Items via Jason Code of MenuBar-View/Menus Property.
  • Easy Add Menus/MenuItems by code manually.
  • enable/disable MenuItems by code.
  • show/hide MenuItems by code.
  • (Title) Menu and Menuitems with Icons.
  • MenuItem with Separator Line.
  • MenuItem with ShortCut Key (Ctrl+ .. ).
  • Custom Event ItemCLicked with reported MenuItem-ID.

'# Properties #
'GBEMenuBar1.hideMenuItem '# show/hide MenuItem
'GBEMenuBar1.AddMenu '# Add (Title- ) Menu
'GBEMenuBar1.AddMenuItem '# Add (Sub-) MenuItem
'GBEMenuBar1.enableMenuItem '# enable/disable MenuItem
'GBEMenuBar1.hideMenuItem '# show/hide MenuItem
'GBEMenuBar1.LoadMenu '# load and build menu from file
'GBEMenuBar1.Menubar '# the MenuBar View

See how to install and use by attached B4J Example Projec:.
  • Example includes the CustomView as Class in clear Code.
  • B4J B4Xlib is included in Project ZIP
  • Copy Files Menu.txt (Structure Description) and MyMenu.css (custom GUI) from Example Project File Folder to your Projects Files Folder.
    Modify the files for your needs
 

Attachments

  • GBEMenuBar.zip
    8 KB · Views: 6
  • Menu.txt
    465 bytes · Views: 7
Top