Alpha Video Training
Results 1 to 2 of 2

Thread: Tool to Mass Update MenuBar Menu Items

  1. #1
    Member
    Real Name
    Paul Verboom
    Join Date
    Apr 2006
    Location
    Halifax, Nova Scotia, Canada
    Posts
    139

    Default Tool to Mass Update MenuBar Menu Items

    A bit of background will help explain the purpose of this tool, so here we go.

    I have an application with at least 50 separate Forms and Browses. Each has a custom MenuBar and ToolBar.
    Quite a few Forms and Browses use a common ToolBar, very few menuBars are shared so I have ended up with around 34 unique menubar definitions.
    While all the Menu Bars have unique Menus, they also have common menus for File, Tools, Window, Help.
    When a new entry is added to one of the common menus (File, Tools, Windows) all, 34 MenuBars would need to be updated. The updates are a time-consuming task; this is where this tool comes into play.

    ZTool-MenuCopy will update the selected Menus on a selected list of MenuBars using a single MenuBar as a pattern. In this way, the Menus for MenuBar Entries such as File and Help can quickly be made the same.

    Establish the File and Help Menus in one MenuBar definition than use this tool to copy these menus to the remaining MenuBar definitions.

    Download the following script and import it into your Alpha5 application (on the Code Tab Right Click and select Import)

    ZTool-MenuCopy - 09-21-2018.txt

    Below is definitions of Menu terms used in Windows it may make the above more understandable

    A menu is arranged in a hierarchy.
    At the top level of the hierarchy is the menu bar; which contains a list of menus, which in turn can contain submenus.
    A menu bar is sometimes called a top-level menu, and the menus and submenus are also known as pop-up menus.

    A menu item can either carry out a command or open a submenu.
    An item that carries out a command is called a command item or a command.

    An item on the menu bar almost always opens a menu.
    Menu bars rarely contain command items.
    A menu opened from the menu bar drops down from the menu bar and is sometimes called a drop-down menu.
    When a drop-down menu is displayed, it is attached to the menu bar.
    A menu item on the menu bar that opens a drop-down menu is also called a menu name.
    Last edited by pboomwork; 09-21-2018 at 10:07 AM.

  2. #2
    Member
    Real Name
    Jon P Moody
    Join Date
    Nov 2016
    Posts
    150

    Default Re: Tool to Mass Update MenuBar Menu Items

    Paul, looks very useful. Did your 'replace all' with 'IR' break anything? haven't got time to test this at present.

Similar Threads

  1. tool bar and menu bar
    By richard2007 in forum Alpha Five Version 8
    Replies: 5
    Last Post: 03-20-2008, 11:55 AM
  2. New Menu Items
    By crimmelcp in forum Alpha Five Version 5
    Replies: 5
    Last Post: 03-15-2004, 01:56 AM
  3. Update of linking field becomes a mass. Why?
    By René Stout in forum Alpha Five Version 5
    Replies: 17
    Last Post: 10-18-2003, 02:00 AM
  4. Menu Items
    By Thomas Henkel in forum Alpha Five Version 5
    Replies: 3
    Last Post: 09-22-2003, 11:32 AM
  5. I want larger tool bar items
    By Wanda Tucker in forum Alpha Five Version 4
    Replies: 8
    Last Post: 08-08-2001, 04:15 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •